13#ifndef LLVM_MC_MCSECTIONMACHO_H
14#define LLVM_MC_MCSECTIONMACHO_H
29 unsigned TypeAndAttributes;
37 unsigned LayoutOrder = 0;
62 return (TypeAndAttributes &
Value) != 0;
Lightweight error class with error context and mandatory checking.
This class is intended to be used as a base class for asm properties and features specific to the tar...
Context object for machine code objects.
This represents a section on a Mach-O system (used by Mac OS X).
static Error ParseSectionSpecifier(StringRef Spec, StringRef &Segment, StringRef &Section, unsigned &TAA, bool &TAAParsed, unsigned &StubSize)
Parse the section specifier indicated by "Spec".
MachO::SectionType getType() const
void setAtom(size_t I, const MCSymbol *Sym)
StringRef getSegmentName() const
const MCSymbol * getAtom(size_t I) const
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
unsigned getLayoutOrder() const
void setLayoutOrder(unsigned Value)
unsigned getTypeAndAttributes() const
bool hasAttribute(unsigned Value) const
static bool classof(const MCSection *S)
void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, uint32_t Subsection) const override
unsigned getStubSize() const
Instances of this class represent a uniqued identifier for a section in the current translation unit.
SectionVariant getVariant() const
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
SectionKind - This is a simple POD value that classifies the properties of a section.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
Triple - Helper class for working with autoconf configuration names.
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream.
SectionType
These are the section type and attributes fields.
This is an optimization pass for GlobalISel generic memory operations.