mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Eliminate textual section switching from the x86 backend, one
more step towards "semantics sections" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -26,7 +26,6 @@ namespace llvm {
|
||||
class Mangler;
|
||||
class TargetMachine;
|
||||
|
||||
|
||||
class TargetLoweringObjectFile {
|
||||
MCContext *Ctx;
|
||||
protected:
|
||||
@@ -250,6 +249,11 @@ public:
|
||||
/// FIXME: REMOVE this (rdar://7071300)
|
||||
virtual bool shouldEmitUsedDirectiveFor(const GlobalValue *GV,
|
||||
Mangler *) const;
|
||||
|
||||
/// getMachOSection - Return the MCSection for the specified mach-o section.
|
||||
/// FIXME: Switch this to a semantic view eventually.
|
||||
const MCSection *getMachOSection(const char *Name, bool isDirective,
|
||||
SectionKind K);
|
||||
};
|
||||
|
||||
|
||||
@@ -264,6 +268,11 @@ public:
|
||||
virtual const MCSection *
|
||||
SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
Mangler *Mang, const TargetMachine &TM) const;
|
||||
|
||||
/// getCOFFSection - Return the MCSection for the specified COFF section.
|
||||
/// FIXME: Switch this to a semantic view eventually.
|
||||
const MCSection *getCOFFSection(const char *Name, bool isDirective,
|
||||
SectionKind K);
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
Reference in New Issue
Block a user