class MCSectionCOFF

Declaration

class MCSectionCOFF : public MCSection { /* full declaration omitted */ };

Description

This represents a section on Windows

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:26

Inherits from: MCSection

Member Variables

Inherited from MCSection:

protected Variant
protected Kind

Method Overview

Inherited from MCSection:

Methods

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/MCSectionCOFF.h:76

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

Description

Decides whether a '.section' directive should be printed before the section name

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:67

Parameters

llvm::StringRef Name
const llvm::MCAsmInfo& MAI

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/MCSectionCOFF.h:79

static bool classof(const llvm::MCSection* S)

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

Parameters

const llvm::MCSection* S

llvm::MCSymbol* getCOMDATSymbol() const

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:71

unsigned int getCharacteristics() const

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:70

unsigned int getOrAssignWinCFISectionID(
    unsigned int* NextID) const

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:82

Parameters

unsigned int* NextID

llvm::StringRef getSectionName() const

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:69

int getSelection() const

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:72

static bool isImplicitlyDiscardable(
    llvm::StringRef Name)

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:88

Parameters

llvm::StringRef Name

bool isVirtualSection() const

Description

Check whether this section is "virtual", that is has no actual object file contents.

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:80

void setSelection(int Selection) const

Declared at: llvm/include/llvm/MC/MCSectionCOFF.h:74

Parameters

int Selection