class MCSectionXCOFF
Declaration
class MCSectionXCOFF : public MCSection { /* full declaration omitted */ };
Description
Instances of this class represent a uniqued identifier for a section in the current translation unit. The MCContext class uniques and creates these.
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:32
Inherits from: MCSection
Member Variables
- private Optional<XCOFF::CsectProperties> CsectProp
- private llvm::MCSymbolXCOFF* const QualName
- private llvm::StringRef SymbolTableName
- private Optional<XCOFF::DwarfSectionSubtypeFlags> DwarfSubtypeFlags
- private bool MultiSymbolsAllowed
- private static const unsigned int DefaultAlignVal = 4
- private static const unsigned int DefaultTextAlignVal = 32
Inherited from MCSection:
Method Overview
- private MCSectionXCOFF(llvm::StringRef Name, llvm::SectionKind K, llvm::MCSymbolXCOFF * QualName, XCOFF::DwarfSectionSubtypeFlags DwarfSubtypeFlags, llvm::MCSymbol * Begin, llvm::StringRef SymbolTableName, bool MultiSymbolsAllowed)
- private MCSectionXCOFF(llvm::StringRef Name, XCOFF::StorageMappingClass SMC, XCOFF::SymbolType ST, llvm::SectionKind K, llvm::MCSymbolXCOFF * QualName, llvm::MCSymbol * Begin, llvm::StringRef SymbolTableName, bool MultiSymbolsAllowed)
- public static bool classof(const llvm::MCSection * S)
- public XCOFF::SymbolType getCSectType() const
- public Optional<XCOFF::CsectProperties> getCsectProp() const
- public Optional<XCOFF::DwarfSectionSubtypeFlags> getDwarfSubtypeFlags() const
- public XCOFF::StorageMappingClass getMappingClass() const
- public llvm::MCSymbolXCOFF * getQualNameSymbol() const
- public XCOFF::StorageClass getStorageClass() const
- public llvm::StringRef getSymbolTableName() const
- public XCOFF::VisibilityType getVisibilityType() const
- public bool isCsect() const
- public bool isDwarfSect() const
- public bool isMultiSymbolsAllowed() const
- public bool isVirtualSection() const
- private void printCsectDirective(llvm::raw_ostream & OS) const
- public void printSwitchToSection(const llvm::MCAsmInfo & MAI, const llvm::Triple & T, llvm::raw_ostream & OS, const llvm::MCExpr * Subsection) const
- public bool useCodeAlign() const
- public ~MCSectionXCOFF()
Inherited from MCSection:
- 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 getName
- public getOrdinal
- public getSublistAccess
- public getSubsectionInsertionPoint
- public getVariant
- public getVirtualSectionKind
- public hasEnded
- public hasInstructions
- public isBundleGroupBeforeFirstInst
- public isBundleLocked
- public isRegistered
- public isVirtualSection
- public printSwitchToSection
- public setAlignment
- public setBeginSymbol
- public setBundleGroupBeforeFirstInst
- public setBundleLockState
- public setHasInstructions
- public setIsRegistered
- public setLayoutOrder
- public setOrdinal
- public useCodeAlign
Methods
¶MCSectionXCOFF(llvm::StringRef Name,
llvm::SectionKind K,
llvm::MCSymbolXCOFF* QualName,
XCOFF::DwarfSectionSubtypeFlags
DwarfSubtypeFlags,
llvm::MCSymbol* Begin,
llvm::StringRef SymbolTableName,
bool MultiSymbolsAllowed)
MCSectionXCOFF(llvm::StringRef Name,
llvm::SectionKind K,
llvm::MCSymbolXCOFF* QualName,
XCOFF::DwarfSectionSubtypeFlags
DwarfSubtypeFlags,
llvm::MCSymbol* Begin,
llvm::StringRef SymbolTableName,
bool MultiSymbolsAllowed)
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:71
Parameters
- llvm::StringRef Name
- llvm::SectionKind K
- llvm::MCSymbolXCOFF* QualName
- XCOFF::DwarfSectionSubtypeFlags DwarfSubtypeFlags
- llvm::MCSymbol* Begin
- llvm::StringRef SymbolTableName
- bool MultiSymbolsAllowed
¶MCSectionXCOFF(llvm::StringRef Name,
XCOFF::StorageMappingClass SMC,
XCOFF::SymbolType ST,
llvm::SectionKind K,
llvm::MCSymbolXCOFF* QualName,
llvm::MCSymbol* Begin,
llvm::StringRef SymbolTableName,
bool MultiSymbolsAllowed)
MCSectionXCOFF(llvm::StringRef Name,
XCOFF::StorageMappingClass SMC,
XCOFF::SymbolType ST,
llvm::SectionKind K,
llvm::MCSymbolXCOFF* QualName,
llvm::MCSymbol* Begin,
llvm::StringRef SymbolTableName,
bool MultiSymbolsAllowed)
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:43
Parameters
- llvm::StringRef Name
- XCOFF::StorageMappingClass SMC
- XCOFF::SymbolType ST
- llvm::SectionKind K
- llvm::MCSymbolXCOFF* QualName
- llvm::MCSymbol* Begin
- llvm::StringRef SymbolTableName
- bool MultiSymbolsAllowed
¶static bool classof(const llvm::MCSection* S)
static bool classof(const llvm::MCSection* S)
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:92
Parameters
- const llvm::MCSection* S
¶XCOFF::SymbolType getCSectType() const
XCOFF::SymbolType getCSectType() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:106
¶Optional<XCOFF::CsectProperties> getCsectProp()
const
Optional<XCOFF::CsectProperties> getCsectProp()
const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:124
¶Optional<XCOFF::DwarfSectionSubtypeFlags>
getDwarfSubtypeFlags() const
Optional<XCOFF::DwarfSectionSubtypeFlags>
getDwarfSubtypeFlags() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:121
¶XCOFF::StorageMappingClass getMappingClass() const
XCOFF::StorageMappingClass getMappingClass() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:96
¶llvm::MCSymbolXCOFF* getQualNameSymbol() const
llvm::MCSymbolXCOFF* getQualNameSymbol() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:110
¶XCOFF::StorageClass getStorageClass() const
XCOFF::StorageClass getStorageClass() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:100
¶llvm::StringRef getSymbolTableName() const
llvm::StringRef getSymbolTableName() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:117
¶XCOFF::VisibilityType getVisibilityType() const
XCOFF::VisibilityType getVisibilityType() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:103
¶bool isCsect() const
bool isCsect() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:119
¶bool isDwarfSect() const
bool isDwarfSect() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:120
¶bool isMultiSymbolsAllowed() const
bool isMultiSymbolsAllowed() const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:118
¶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/MCSectionXCOFF.h:116
¶void printCsectDirective(
llvm::raw_ostream& OS) const
void printCsectDirective(
llvm::raw_ostream& OS) const
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:87
Parameters
¶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/MCSectionXCOFF.h:112
Parameters
- const llvm::MCAsmInfo& MAI
- const llvm::Triple& T
- llvm::raw_ostream& OS
- const llvm::MCExpr* Subsection
¶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/MCSectionXCOFF.h:115
¶~MCSectionXCOFF()
~MCSectionXCOFF()
Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:90