mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
MC/Mach-O: Add MCSectionMachO::getType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -151,10 +151,12 @@ public:
|
||||
return StringRef(SectionName, 16);
|
||||
return StringRef(SectionName);
|
||||
}
|
||||
|
||||
|
||||
unsigned getTypeAndAttributes() const { return TypeAndAttributes; }
|
||||
unsigned getStubSize() const { return Reserved2; }
|
||||
|
||||
|
||||
unsigned getType() const { return TypeAndAttributes & SECTION_TYPE; }
|
||||
|
||||
/// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
|
||||
/// This is a string that can appear after a .section directive in a mach-o
|
||||
/// flavored .s file. If successful, this fills in the specified Out
|
||||
@@ -165,7 +167,7 @@ public:
|
||||
StringRef &Section, // Out.
|
||||
unsigned &TAA, // Out.
|
||||
unsigned &StubSize); // Out.
|
||||
|
||||
|
||||
virtual void PrintSwitchToSection(const MCAsmInfo &MAI,
|
||||
raw_ostream &OS) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user