LLVM 18.0.0git
|
This represents a section on wasm. More...
#include "llvm/MC/MCSectionWasm.h"
Static Public Member Functions | |
static bool | classof (const MCSection *S) |
![]() | |
static FragmentListType MCSection::* | getSublistAccess (MCFragment *) |
Support for MCFragment::getNextNode(). | |
Friends | |
class | MCContext |
Additional Inherited Members | |
![]() | |
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... | |
using | FragmentListType = iplist< MCFragment > |
using | const_iterator = FragmentListType::const_iterator |
using | iterator = FragmentListType::iterator |
using | const_reverse_iterator = FragmentListType::const_reverse_iterator |
using | reverse_iterator = FragmentListType::reverse_iterator |
![]() | |
static constexpr unsigned | NonUniqueID = ~0U |
![]() | |
MCSection (SectionVariant V, StringRef Name, SectionKind K, MCSymbol *Begin) | |
~MCSection () | |
![]() | |
StringRef | Name |
SectionVariant | Variant |
SectionKind | Kind |
This represents a section on wasm.
Definition at line 26 of file MCSectionWasm.h.
Definition at line 89 of file MCSectionWasm.h.
References llvm::MCSection::getVariant(), and llvm::MCSection::SV_Wasm.
|
inline |
Definition at line 58 of file MCSectionWasm.h.
|
inline |
Definition at line 81 of file MCSectionWasm.h.
References assert(), and isWasmData().
|
inline |
Definition at line 75 of file MCSectionWasm.h.
|
inline |
Definition at line 59 of file MCSectionWasm.h.
|
inline |
Definition at line 78 of file MCSectionWasm.h.
|
inline |
Definition at line 73 of file MCSectionWasm.h.
|
inline |
Definition at line 72 of file MCSectionWasm.h.
Referenced by printSwitchToSection().
|
overridevirtual |
Check whether this section is "virtual", that is has no actual object file contents.
Implements llvm::MCSection.
Definition at line 106 of file MCSectionWasm.cpp.
|
inline |
Definition at line 67 of file MCSectionWasm.h.
References llvm::SectionKind::isGlobalWriteableData(), llvm::SectionKind::isReadOnly(), llvm::SectionKind::isThreadLocal(), and llvm::MCSection::Kind.
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, llvm::MCExpr::print(), printName(), shouldOmitSectionDirective(), llvm::wasm::WASM_SEG_FLAG_STRINGS, and llvm::wasm::WASM_SEG_FLAG_TLS.
Definition at line 85 of file MCSectionWasm.h.
References assert(), and isWasmData().
|
inline |
Definition at line 76 of file MCSectionWasm.h.
References llvm::Offset.
|
inline |
Definition at line 79 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 104 of file MCSectionWasm.cpp.
|
friend |
Definition at line 47 of file MCSectionWasm.h.