diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:19:38 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:19:38 +0000 |
commit | 29b03f737500ea32f4f0ac8378549984f0fb8860 (patch) | |
tree | 0269dc0c46b78b68defc2b30d132d60f3abd6a3b /include/llvm/Target | |
parent | c0f41db19ca8700f49d8db115030398a90e0bd4e (diff) | |
download | external_llvm-29b03f737500ea32f4f0ac8378549984f0fb8860.zip external_llvm-29b03f737500ea32f4f0ac8378549984f0fb8860.tar.gz external_llvm-29b03f737500ea32f4f0ac8378549984f0fb8860.tar.bz2 |
Properly handle linkonce stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index a36ce47..13b32e7 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -56,11 +56,6 @@ namespace llvm { }; } - struct SectionInfo { - SectionKind::Kind kind; - SectionFlags::Flags flags; - }; - class TargetMachine; class CallInst; class GlobalValue; @@ -476,6 +471,9 @@ namespace llvm { /// global with all necessary flags and marks. virtual std::string SectionForGlobal(const GlobalValue *GV) const; + virtual std::string UniqueSectionForGlobal(const GlobalValue* GV, + SectionKind::Kind kind) const; + // Accessors. // const char *getTextSection() const { |