LLVM 22.0.0git
llvm::MCSectionWasm Class Referencefinal

This represents a section on wasm. More...

#include "llvm/MC/MCSectionWasm.h"

Inheritance diagram for llvm::MCSectionWasm:
[legend]

Public Member Functions

const MCSymbolWasmgetGroup () const
unsigned getSegmentFlags () const
bool isWasmData () const
bool isMetadata () const
bool isUnique () const
unsigned getUniqueID () const
uint64_t getSectionOffset () const
void setSectionOffset (uint64_t Offset)
uint32_t getSegmentIndex () const
void setSegmentIndex (uint32_t Index)
bool getPassive () const
void setPassive (bool V=true)
Public Member Functions inherited from llvm::MCSection
 MCSection (const MCSection &)=delete
MCSectionoperator= (const MCSection &)=delete
StringRef getName () const
bool isText () const
MCSymbolgetBeginSymbol ()
const MCSymbolgetBeginSymbol () const
void setBeginSymbol (MCSymbol *Sym)
MCSymbolgetEndSymbol (MCContext &Ctx)
bool hasEnded () const
Align getAlign () const
void setAlignment (Align Value)
void ensureMinAlignment (Align MinAlignment)
 Makes sure that Alignment is at least MinAlignment.
unsigned getOrdinal () const
void setOrdinal (unsigned Value)
bool hasInstructions () const
void setHasInstructions (bool Value)
bool isRegistered () const
void setIsRegistered (bool Value)
unsigned firstLinkerRelaxable () const
bool isLinkerRelaxable () const
void setFirstLinkerRelaxable (unsigned Order)
MCFragmentgetDummyFragment ()
FragListcurFragList () const
iterator begin () const
iterator end () const
void dump (DenseMap< const MCFragment *, SmallVector< const MCSymbol *, 0 > > *FragToSyms=nullptr) const
bool isBssSection () const
 Check whether this section is "virtual", that is has no actual object file contents.

Friends

class MCContext
class MCAsmInfoWasm

Additional Inherited Members

Public Attributes inherited from llvm::MCSection
friend MCAssembler
friend MCObjectStreamer
Static Public Attributes inherited from llvm::MCSection
static constexpr unsigned NonUniqueID = ~0U
Protected Member Functions inherited from llvm::MCSection
 MCSection (StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin)
Protected Attributes inherited from llvm::MCSection
StringRef Name

Detailed Description

This represents a section on wasm.

Definition at line 26 of file MCSectionWasm.h.

Member Function Documentation

◆ getGroup()

const MCSymbolWasm * llvm::MCSectionWasm::getGroup ( ) const
inline

Definition at line 61 of file MCSectionWasm.h.

◆ getPassive()

bool llvm::MCSectionWasm::getPassive ( ) const
inline

Definition at line 76 of file MCSectionWasm.h.

References assert(), and isWasmData().

◆ getSectionOffset()

uint64_t llvm::MCSectionWasm::getSectionOffset ( ) const
inline

Definition at line 70 of file MCSectionWasm.h.

◆ getSegmentFlags()

unsigned llvm::MCSectionWasm::getSegmentFlags ( ) const
inline

Definition at line 62 of file MCSectionWasm.h.

◆ getSegmentIndex()

uint32_t llvm::MCSectionWasm::getSegmentIndex ( ) const
inline

Definition at line 73 of file MCSectionWasm.h.

◆ getUniqueID()

unsigned llvm::MCSectionWasm::getUniqueID ( ) const
inline

Definition at line 68 of file MCSectionWasm.h.

◆ isMetadata()

bool llvm::MCSectionWasm::isMetadata ( ) const
inline

Definition at line 65 of file MCSectionWasm.h.

Referenced by MCAsmInfoWasm.

◆ isUnique()

bool llvm::MCSectionWasm::isUnique ( ) const
inline

Definition at line 67 of file MCSectionWasm.h.

◆ isWasmData()

bool llvm::MCSectionWasm::isWasmData ( ) const
inline

Definition at line 64 of file MCSectionWasm.h.

Referenced by getPassive(), and setPassive().

◆ setPassive()

void llvm::MCSectionWasm::setPassive ( bool V = true)
inline

Definition at line 80 of file MCSectionWasm.h.

References assert(), and isWasmData().

◆ setSectionOffset()

void llvm::MCSectionWasm::setSectionOffset ( uint64_t Offset)
inline

Definition at line 71 of file MCSectionWasm.h.

References llvm::Offset.

◆ setSegmentIndex()

void llvm::MCSectionWasm::setSegmentIndex ( uint32_t Index)
inline

Definition at line 74 of file MCSectionWasm.h.

◆ MCAsmInfoWasm

◆ MCContext

friend class MCContext
friend

Definition at line 51 of file MCSectionWasm.h.

References MCContext.

Referenced by MCContext.


The documentation for this class was generated from the following file: