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:26
Inherits from: MCSection
Member Variables
- private unsigned int UniqueID
- private const llvm::MCSymbolWasm* Group
- private uint64_t SectionOffset = 0
- private uint32_t SegmentIndex = 0
- private bool IsPassive = false
- private unsigned int SegmentFlags
Inherited from MCSection:
Method Overview
- private MCSectionWasm(llvm::StringRef Name, llvm::SectionKind K, unsigned int SegmentFlags, const llvm::MCSymbolWasm * Group, unsigned int UniqueID, llvm::MCSymbol * Begin)
- public static bool classof(const llvm::MCSection * S)
- public const llvm::MCSymbolWasm * getGroup() const
- public bool getPassive() const
- public uint64_t getSectionOffset() const
- public unsigned int getSegmentFlags() const
- public uint32_t getSegmentIndex() const
- public unsigned int getUniqueID() const
- public bool isUnique() const
- public bool isVirtualSection() const
- public bool isWasmData() const
- public void printSwitchToSection(const llvm::MCAsmInfo & MAI, const llvm::Triple & T, llvm::raw_ostream & OS, const llvm::MCExpr * Subsection) const
- public void setPassive(bool V = true)
- public void setSectionOffset(uint64_t Offset)
- public void setSegmentIndex(uint32_t Index)
- public bool shouldOmitSectionDirective(llvm::StringRef Name, const llvm::MCAsmInfo & MAI) const
- public bool useCodeAlign() const
Inherited from MCSection:
- public addPendingLabel
- public begin
- public begin
- public dump
- public end
- public end
- public flushPendingLabels
- public flushPendingLabels
- public getAlignment
- public getBeginSymbol
- public getBeginSymbol
- public getBundleLockState
- public getDummyFragment
- public getDummyFragment
- public getEndSymbol
- public getFragmentList
- public getFragmentList
- public getKind
- public getLayoutOrder
- public getName
- public getOrdinal
- public getSublistAccess
- public getSubsectionInsertionPoint
- public getVariant
- public getVirtualSectionKind
- public hasEnded
- public hasInstructions
- public isBundleGroupBeforeFirstInst
- public isBundleLocked
- public isRegistered
- public isVirtualSection
- public printSwitchToSection
- public setAlignment
- public setBeginSymbol
- public setBundleGroupBeforeFirstInst
- public setBundleLockState
- public setHasInstructions
- public setIsRegistered
- public setLayoutOrder
- public setOrdinal
- public useCodeAlign
Methods
¶MCSectionWasm(llvm::StringRef Name,
llvm::SectionKind K,
unsigned int SegmentFlags,
const llvm::MCSymbolWasm* Group,
unsigned int UniqueID,
llvm::MCSymbol* Begin)
MCSectionWasm(llvm::StringRef Name,
llvm::SectionKind K,
unsigned int SegmentFlags,
const llvm::MCSymbolWasm* Group,
unsigned int UniqueID,
llvm::MCSymbol* Begin)
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:48
Parameters
- llvm::StringRef Name
- llvm::SectionKind K
- unsigned int SegmentFlags
- const llvm::MCSymbolWasm* Group
- unsigned int UniqueID
- llvm::MCSymbol* Begin
¶static bool classof(const llvm::MCSection* S)
static bool classof(const llvm::MCSection* S)
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:89
Parameters
- const llvm::MCSection* S
¶const llvm::MCSymbolWasm* getGroup() const
const llvm::MCSymbolWasm* getGroup() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:58
¶bool getPassive() const
bool getPassive() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:81
¶uint64_t getSectionOffset() const
uint64_t getSectionOffset() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:75
¶unsigned int getSegmentFlags() const
unsigned int getSegmentFlags() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:59
¶uint32_t getSegmentIndex() const
uint32_t getSegmentIndex() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:78
¶unsigned int getUniqueID() const
unsigned int getUniqueID() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:73
¶bool isUnique() const
bool isUnique() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:72
¶bool isVirtualSection() const
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:65
¶bool isWasmData() const
bool isWasmData() const
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:67
¶void printSwitchToSection(
const llvm::MCAsmInfo& MAI,
const llvm::Triple& T,
llvm::raw_ostream& OS,
const llvm::MCExpr* Subsection) const
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:61
Parameters
- const llvm::MCAsmInfo& MAI
- const llvm::Triple& T
- llvm::raw_ostream& OS
- const llvm::MCExpr* Subsection
¶void setPassive(bool V = true)
void setPassive(bool V = true)
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:85
Parameters
- bool V = true
¶void setSectionOffset(uint64_t Offset)
void setSectionOffset(uint64_t Offset)
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:76
Parameters
- uint64_t Offset
¶void setSegmentIndex(uint32_t Index)
void setSegmentIndex(uint32_t Index)
Declared at: llvm/include/llvm/MC/MCSectionWasm.h:79
Parameters
- uint32_t Index
¶bool shouldOmitSectionDirective(
llvm::StringRef Name,
const llvm::MCAsmInfo& MAI) const
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:56
Parameters
- llvm::StringRef Name
- const llvm::MCAsmInfo& MAI
¶bool useCodeAlign() const
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:64