mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user