14 #ifndef LLVM_MC_MCSECTIONELF_H
15 #define LLVM_MC_MCSECTIONELF_H
57 unsigned entrySize,
const MCSymbolELF *group,
unsigned UniqueID,
60 Flags(flags), UniqueID(UniqueID), EntrySize(entrySize), Group(group),
61 Associated(Associated) {
82 const MCExpr *Subsection)
const override;
86 bool isUnique()
const {
return UniqueID != ~0U; }
Instances of this class represent a uniqued identifier for a section in the current translation unit...
StringRef getSectionName() const
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
SectionVariant getVariant() const
unsigned getUniqueID() const
unsigned getFlags() const
unsigned getEntrySize() const
void setIsSignature() const
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
const MCSymbolELF * getGroup() const
This class is intended to be used as a base class for asm properties and features specific to the tar...
The instances of the Type class are immutable: once they are created, they are never changed...
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
static bool classof(const MCSection *S)
SectionKind - This is a simple POD value that classifies the properties of a section.
const MCSectionELF * getAssociatedSection() const
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
ShouldOmitSectionDirective - Decides whether a '.section' directive should be printed before the sect...
void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override
MCSectionELF - This represents a section on linux, lots of unix variants and some bare metal systems...
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.