LLVM 20.0.0git
|
This represents a section on wasm. More...
#include "llvm/MC/MCSectionWasm.h"
Static Public Member Functions | |
static bool | classof (const MCSection *S) |
Friends | |
class | MCContext |
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.
Definition at line 92 of file MCSectionWasm.h.
References llvm::MCSection::getVariant(), and llvm::MCSection::SV_Wasm.
|
inline |
Definition at line 64 of file MCSectionWasm.h.
|
inline |
Definition at line 84 of file MCSectionWasm.h.
References assert(), and isWasmData().
|
inline |
Definition at line 78 of file MCSectionWasm.h.
|
inline |
Definition at line 65 of file MCSectionWasm.h.
|
inline |
Definition at line 81 of file MCSectionWasm.h.
|
inline |
Definition at line 76 of file MCSectionWasm.h.
|
inline |
Definition at line 73 of file MCSectionWasm.h.
|
inline |
Definition at line 75 of file MCSectionWasm.h.
Referenced by printSwitchToSection().
|
inline |
Definition at line 72 of file MCSectionWasm.h.
Referenced by getPassive(), and setPassive().
|
overridevirtual |
Implements llvm::MCSection.
Definition at line 47 of file MCSectionWasm.cpp.
References llvm::MCAsmInfo::getCommentString(), llvm::MCSection::getName(), llvm::MCSymbol::getName(), isUnique(), OS, printName(), shouldOmitSectionDirective(), llvm::wasm::WASM_SEG_FLAG_RETAIN, llvm::wasm::WASM_SEG_FLAG_STRINGS, and llvm::wasm::WASM_SEG_FLAG_TLS.
Definition at line 88 of file MCSectionWasm.h.
References assert(), and isWasmData().
|
inline |
Definition at line 79 of file MCSectionWasm.h.
References llvm::Offset.
|
inline |
Definition at line 82 of file MCSectionWasm.h.
Decides whether a '.section' directive should be printed before the section name.
Definition at line 19 of file MCSectionWasm.cpp.
References llvm::MCSection::Name, and llvm::MCAsmInfo::shouldOmitSectionDirective().
Referenced by printSwitchToSection().
|
overridevirtual |
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
Implements llvm::MCSection.
Definition at line 101 of file MCSectionWasm.cpp.
|
friend |
Definition at line 51 of file MCSectionWasm.h.