class MCSectionWasm

Declaration

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

Description

This represents a section on wasm.

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:27

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/MCSectionWasm.h:62

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/MCSectionWasm.h:65

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

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

Parameters

const llvm::MCSection* S

const llvm::MCSymbolWasm* getGroup() const

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:60

bool getPassive() const

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

llvm::StringRef getSectionName() const

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:59

uint64_t getSectionOffset() const

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:76

uint32_t getSegmentIndex() const

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:79

unsigned int getUniqueID() const

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

bool isUnique() const

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:73

bool isVirtualSection() const

Description

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

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:66

bool isWasmData() const

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:68

void setPassive(bool V = true)

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:86

Parameters

bool V = true

void setSectionOffset(uint64_t Offset)

Declared at: llvm/include/llvm/MC/MCSectionWasm.h:77

Parameters

uint64_t Offset

void setSegmentIndex(uint32_t Index)

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

Parameters

uint32_t Index

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/MCSectionWasm.h:57

Parameters

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