Properly handle linkonce stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2008-07-09 13:19:38 +00:00
parent c0f41db19c
commit 29b03f7375
4 changed files with 110 additions and 35 deletions

View File

@@ -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 {