14 #ifndef LLVM_MC_MCSECTIONMACHO_H 15 #define LLVM_MC_MCSECTIONMACHO_H 31 unsigned TypeAndAttributes;
63 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...
bool hasAttribute(unsigned Value) const
This represents a section on a Mach-O system (used by Mac OS X).
This class represents lattice values for constants.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
static bool classof(const MCSection *S)
unsigned getTypeAndAttributes() const
Base class for the full range of assembler expressions which are needed for parsing.
StringRef getSectionName() const
Context object for machine code objects.
unsigned getStubSize() const
StringRef getSegmentName() 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)
Parse the section specifier indicated by "Spec".
SectionKind - This is a simple POD value that classifies the properties of a section.
SectionVariant getVariant() const
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
MachO::SectionType getType() const
Triple - Helper class for working with autoconf configuration names.
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
LLVM Value Representation.
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.
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override