14 #ifndef LLVM_MC_MCSECTIONMACHO_H
15 #define LLVM_MC_MCSECTIONMACHO_H
32 unsigned TypeAndAttributes;
64 return (TypeAndAttributes & Value) != 0;
81 const MCExpr *Subsection)
const override;
Instances of this class represent a uniqued identifier for a section in the current translation unit...
MCSectionMachO - This represents a section on a Mach-O system (used by Mac OS X). ...
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
SectionVariant getVariant() const
static bool classof(const MCSection *S)
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
StringRef getSectionName() const
unsigned getStubSize() const
This class is intended to be used as a base class for asm properties and features specific to the tar...
static std::string ParseSectionSpecifier(StringRef Spec, StringRef &Segment, StringRef &Section, unsigned &TAA, bool &TAAParsed, unsigned &StubSize)
ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
bool hasAttribute(unsigned Value) const
SectionKind - This is a simple POD value that classifies the properties of a section.
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
MachO::SectionType getType() const
StringRef getSegmentName() const
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
unsigned getTypeAndAttributes() const
LLVM Value Representation.
void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
SectionType
These are the section type and attributes fields.