LLVM: llvm::MCSectionWasm Class Reference (original) (raw)

This represents a section on wasm. More...

#include "[llvm/MC/MCSectionWasm.h](MCSectionWasm%5F8h%5Fsource.html)"

Public Member Functions
bool shouldOmitSectionDirective (StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name.
const MCSymbolWasm * getGroup () const
unsigned getSegmentFlags () const
void printSwitchToSection (const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, uint32_t Subsection) const override
bool useCodeAlign () const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
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
MCSection & operator= (const MCSection &)=delete
StringRef getName () const
bool isText () const
SectionVariant getVariant () const
MCSymbol * getBeginSymbol ()
const MCSymbol * getBeginSymbol () const
void setBeginSymbol (MCSymbol *Sym)
MCSymbol * getEndSymbol (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)
BundleLockStateType getBundleLockState () const
void setBundleLockState (BundleLockStateType NewState)
bool isBundleLocked () const
bool isBundleGroupBeforeFirstInst () const
void setBundleGroupBeforeFirstInst (bool IsFirst)
bool hasInstructions () const
void setHasInstructions (bool Value)
bool hasLayout () const
void setHasLayout (bool Value)
bool isRegistered () const
void setIsRegistered (bool Value)
const MCDummyFragment & getDummyFragment () const
MCDummyFragment & getDummyFragment ()
FragList * curFragList () const
iterator begin () const
iterator end () const
void dump () const
virtual void printSwitchToSection (const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, uint32_t Subsection) const =0
virtual bool useCodeAlign () const =0
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
bool isVirtualSection () const
Check whether this section is "virtual", that is has no actual object file contents.
virtual StringRef getVirtualSectionKind () const
Additional Inherited Members
- Public Types inherited from llvm::MCSection
enum SectionVariant { SV_COFF = 0 , SV_ELF, SV_GOFF, SV_MachO, SV_Wasm, SV_XCOFF, SV_SPIRV, SV_DXContainer }
enum BundleLockStateType { NotBundleLocked, BundleLocked, BundleLockedAlignToEnd }
Express the state of bundle locked groups while emitting code. More...
- 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 (SectionVariant V, StringRef Name, bool IsText, bool IsVirtual, MCSymbol *Begin)
~MCSection ()
- Protected Attributes inherited from llvm::MCSection
StringRef Name
SectionVariant Variant

This represents a section on wasm.

Definition at line 26 of file MCSectionWasm.h.

classof()

getGroup()

getPassive()

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

getSectionOffset()

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

getSegmentFlags()

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

getSegmentIndex()

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

getUniqueID()

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

isMetadata()

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

isUnique()

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

isWasmData()

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

printSwitchToSection()

setPassive()

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

setSectionOffset()

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

setSegmentIndex()

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

shouldOmitSectionDirective()

useCodeAlign()

bool MCSectionWasm::useCodeAlign ( ) const overridevirtual

MCContext


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