LLVM 20.0.0git
|
Classes | |
struct | WasmDataReference |
struct | WasmDataSegment |
struct | WasmDebugName |
struct | WasmDylinkExportInfo |
struct | WasmDylinkImportInfo |
struct | WasmDylinkInfo |
struct | WasmElemSegment |
struct | WasmExport |
struct | WasmFeatureEntry |
struct | WasmFunction |
struct | WasmGlobal |
struct | WasmGlobalType |
struct | WasmImport |
struct | WasmInitExpr |
struct | WasmInitExprMVP |
struct | WasmInitFunc |
struct | WasmLimits |
struct | WasmLinkingData |
struct | WasmLocalDecl |
struct | WasmObjectHeader |
struct | WasmProducerInfo |
struct | WasmRelocation |
struct | WasmSignature |
struct | WasmSymbolInfo |
struct | WasmTable |
struct | WasmTableType |
struct | WasmTag |
Functions | |
bool | operator== (const WasmSignature &LHS, const WasmSignature &RHS) |
bool | operator!= (const WasmSignature &LHS, const WasmSignature &RHS) |
bool | operator== (const WasmGlobalType &LHS, const WasmGlobalType &RHS) |
bool | operator!= (const WasmGlobalType &LHS, const WasmGlobalType &RHS) |
bool | operator== (const WasmLimits &LHS, const WasmLimits &RHS) |
bool | operator== (const WasmTableType &LHS, const WasmTableType &RHS) |
llvm::StringRef | toString (WasmSymbolType type) |
llvm::StringRef | relocTypetoString (uint32_t type) |
llvm::StringRef | sectionTypeToString (uint32_t type) |
bool | relocTypeHasAddend (uint32_t type) |
Variables | |
const char | WasmMagic [] = {'\0', 'a', 's', 'm'} |
const uint32_t | WasmVersion = 0x1 |
const uint32_t | WasmMetadataVersion = 0x2 |
const uint32_t | WasmPageSize = 65536 |
const unsigned | WASM_ELEM_SEGMENT_MASK_HAS_ELEM_KIND = 0x3 |
const unsigned | WASM_SYMBOL_BINDING_MASK = 0x3 |
const unsigned | WASM_SYMBOL_VISIBILITY_MASK = 0xc |
const unsigned | WASM_SYMBOL_BINDING_GLOBAL = 0x0 |
const unsigned | WASM_SYMBOL_BINDING_WEAK = 0x1 |
const unsigned | WASM_SYMBOL_BINDING_LOCAL = 0x2 |
const unsigned | WASM_SYMBOL_VISIBILITY_DEFAULT = 0x0 |
const unsigned | WASM_SYMBOL_VISIBILITY_HIDDEN = 0x4 |
const unsigned | WASM_SYMBOL_UNDEFINED = 0x10 |
const unsigned | WASM_SYMBOL_EXPORTED = 0x20 |
const unsigned | WASM_SYMBOL_EXPLICIT_NAME = 0x40 |
const unsigned | WASM_SYMBOL_NO_STRIP = 0x80 |
const unsigned | WASM_SYMBOL_TLS = 0x100 |
const unsigned | WASM_SYMBOL_ABSOLUTE = 0x200 |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : uint8_t |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
anonymous enum : unsigned |
|
strong |
|
strong |
enum llvm::wasm::WasmTagAttribute : uint8_t |
|
inline |
|
inline |
|
inline |
Definition at line 513 of file Wasm.h.
References LHS, llvm::operator==(), and RHS.
|
inline |
Definition at line 521 of file Wasm.h.
References LHS, llvm::operator==(), RHS, and WASM_LIMITS_FLAG_HAS_MAX.
|
inline |
Definition at line 504 of file Wasm.h.
References LHS, llvm::operator==(), and RHS.
|
inline |
Definition at line 527 of file Wasm.h.
References LHS, llvm::operator==(), and RHS.
llvm::StringRef llvm::wasm::relocTypetoString | ( | uint32_t | type | ) |
Definition at line 29 of file Wasm.cpp.
References llvm_unreachable.
llvm::StringRef llvm::wasm::sectionTypeToString | ( | uint32_t | type | ) |
Definition at line 41 of file Wasm.cpp.
References ECase, FUNCTION, llvm_unreachable, and TAG.
Referenced by llvm::objcopy::wasm::Reader::create(), and llvm::object::WasmObjectFile::getSectionName().
llvm::StringRef llvm::wasm::toString | ( | wasm::WasmSymbolType | Type | ) |
Definition at line 11 of file Wasm.cpp.
References llvm_unreachable.
Definition at line 165 of file Wasm.h.
Referenced by llvm::yaml::MappingTraits< WasmYAML::ElemSegment >::mapping().
Definition at line 241 of file Wasm.h.
Referenced by llvm::yaml::MappingTraits< WasmYAML::SymbolInfo >::mapping().
Definition at line 231 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isBindingGlobal(), and llvm::object::WasmSymbol::print().
Definition at line 233 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isBindingLocal(), and llvm::object::WasmSymbol::print().
Definition at line 228 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::getBinding().
Definition at line 232 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isBindingWeak(), and llvm::object::WasmSymbol::print().
Definition at line 237 of file Wasm.h.
Referenced by llvm::MCSymbolWasm::isExported(), and llvm::MCSymbolWasm::setExported().
Definition at line 239 of file Wasm.h.
Referenced by llvm::MCSymbolWasm::isNoStrip(), and llvm::MCSymbolWasm::setNoStrip().
Definition at line 240 of file Wasm.h.
Referenced by llvm::MCSymbolWasm::isTLS(), and llvm::MCSymbolWasm::setTLS().
Definition at line 236 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isUndefined(), and llvm::yaml::MappingTraits< WasmYAML::SymbolInfo >::mapping().
Definition at line 235 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::isHidden().
Definition at line 229 of file Wasm.h.
Referenced by llvm::object::WasmSymbol::getVisibility().
Definition at line 28 of file Wasm.h.
Referenced by llvm::object::WasmObjectFile::WasmObjectFile().