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:

protected Name
protected Variant
protected Kind
public static NonUniqueID = ~0U

Method Overview

Inherited from MCSection:

Methods

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)

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)

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:92

Parameters

const llvm::MCSection* S

XCOFF::SymbolType getCSectType() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:106

Optional<XCOFF::CsectProperties> getCsectProp()
    const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:124

Optional<XCOFF::DwarfSectionSubtypeFlags>
getDwarfSubtypeFlags() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:121

XCOFF::StorageMappingClass getMappingClass() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:96

llvm::MCSymbolXCOFF* getQualNameSymbol() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:110

XCOFF::StorageClass getStorageClass() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:100

llvm::StringRef getSymbolTableName() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:117

XCOFF::VisibilityType getVisibilityType() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:103

bool isCsect() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:119

bool isDwarfSect() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:120

bool isMultiSymbolsAllowed() const

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:118

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

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:87

Parameters

llvm::raw_ostream& OS

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

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()

Declared at: llvm/include/llvm/MC/MCSectionXCOFF.h:90