class MCSectionELF
Declaration
class MCSectionELF : public MCSection { /* full declaration omitted */ };
Description
This represents a section on linux, lots of unix variants and some bare metal systems.
Declared at: llvm/include/llvm/MC/MCSectionELF.h:27
Inherits from: MCSection
Member Variables
Inherited from MCSection:
Method Overview
- public void PrintSwitchToSection(const llvm::MCAsmInfo & MAI, const llvm::Triple & T, llvm::raw_ostream & OS, const llvm::MCExpr * Subsection) const
- public bool ShouldOmitSectionDirective(llvm::StringRef Name, const llvm::MCAsmInfo & MAI) const
- public bool UseCodeAlign() const
- public static bool classof(const llvm::MCSection * S)
- public const llvm::MCSection * getAssociatedSection() const
- public const llvm::MCSymbol * getAssociatedSymbol() const
- public unsigned int getEntrySize() const
- public unsigned int getFlags() const
- public const llvm::MCSymbolELF * getGroup() const
- public llvm::StringRef getSectionName() const
- public unsigned int getType() const
- public unsigned int getUniqueID() const
- public bool isUnique() const
- public bool isVirtualSection() const
- public void setFlags(unsigned int F)
Inherited from MCSection:
- public PrintSwitchToSection
- public UseCodeAlign
- public addPendingLabel
- public begin
- public begin
- public dump
- public end
- public end
- public flushPendingLabels
- public flushPendingLabels
- public getAlignment
- public getBeginSymbol
- public getBeginSymbol
- public getBundleLockState
- public getDummyFragment
- public getDummyFragment
- public getEndSymbol
- public getFragmentList
- public getFragmentList
- public getKind
- public getLayoutOrder
- public getOrdinal
- public getSublistAccess
- public getSubsectionInsertionPoint
- public getVariant
- public hasEnded
- public hasInstructions
- public isBundleGroupBeforeFirstInst
- public isBundleLocked
- public isRegistered
- public isVirtualSection
- public setAlignment
- public setBeginSymbol
- public setBundleGroupBeforeFirstInst
- public setBundleLockState
- public setHasInstructions
- public setIsRegistered
- public setLayoutOrder
- public setOrdinal
Methods
¶void PrintSwitchToSection(
const llvm::MCAsmInfo& MAI,
const llvm::Triple& T,
llvm::raw_ostream& OS,
const llvm::MCExpr* Subsection) const
void PrintSwitchToSection(
const llvm::MCAsmInfo& MAI,
const llvm::Triple& T,
llvm::raw_ostream& OS,
const llvm::MCExpr* Subsection) const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:77
Parameters
- const llvm::MCAsmInfo& MAI
- const llvm::Triple& T
- llvm::raw_ostream& OS
- const llvm::MCExpr* Subsection
¶bool ShouldOmitSectionDirective(
llvm::StringRef Name,
const llvm::MCAsmInfo& MAI) const
bool ShouldOmitSectionDirective(
llvm::StringRef Name,
const llvm::MCAsmInfo& MAI) const
Description
Decides whether a '.section' directive should be printed before the section name
Declared at: llvm/include/llvm/MC/MCSectionELF.h:68
Parameters
- llvm::StringRef Name
- const llvm::MCAsmInfo& MAI
¶bool UseCodeAlign() const
bool UseCodeAlign() const
Description
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
Declared at: llvm/include/llvm/MC/MCSectionELF.h:80
¶static bool classof(const llvm::MCSection* S)
static bool classof(const llvm::MCSection* S)
Declared at: llvm/include/llvm/MC/MCSectionELF.h:89
Parameters
- const llvm::MCSection* S
¶const llvm::MCSection* getAssociatedSection()
const
const llvm::MCSection* getAssociatedSection()
const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:86
¶const llvm::MCSymbol* getAssociatedSymbol() const
const llvm::MCSymbol* getAssociatedSymbol() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:87
¶unsigned int getEntrySize() const
unsigned int getEntrySize() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:73
¶unsigned int getFlags() const
unsigned int getFlags() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:72
¶const llvm::MCSymbolELF* getGroup() const
const llvm::MCSymbolELF* getGroup() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:75
¶llvm::StringRef getSectionName() const
llvm::StringRef getSectionName() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:70
¶unsigned int getType() const
unsigned int getType() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:71
¶unsigned int getUniqueID() const
unsigned int getUniqueID() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:84
¶bool isUnique() const
bool isUnique() const
Declared at: llvm/include/llvm/MC/MCSectionELF.h:83
¶bool isVirtualSection() const
bool isVirtualSection() const
Description
Check whether this section is "virtual", that is has no actual object file contents.
Declared at: llvm/include/llvm/MC/MCSectionELF.h:81
¶void setFlags(unsigned int F)
void setFlags(unsigned int F)
Declared at: llvm/include/llvm/MC/MCSectionELF.h:74
Parameters
- unsigned int F