14 #ifndef LLVM_MC_MCSECTIONELF_H
15 #define LLVM_MC_MCSECTIONELF_H
55 unsigned entrySize,
const MCSymbolELF *group,
unsigned UniqueID,
58 Flags(flags), UniqueID(UniqueID), EntrySize(entrySize), Group(group),
59 AssociatedSymbol(AssociatedSymbol) {
82 const MCExpr *Subsection)
const override;
86 bool isUnique()
const {
return UniqueID != ~0U; }
99 #endif // LLVM_MC_MCSECTIONELF_H
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
const MCSection * getAssociatedSection() 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
const MCSymbol * getAssociatedSymbol() 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.
void setFlags(unsigned F)
static bool classof(const MCSection *S)
SectionKind - This is a simple POD value that classifies the properties of a section.
Triple - Helper class for working with autoconf configuration names.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
MCSection & getSection(bool SetUsed=true) const
Get the section associated with a defined, non-absolute symbol.
static std::vector< std::string > Flags
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...
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
StringRef - Represent a constant reference to a string, i.e.