LLVM 22.0.0git
|
#include "llvm/Object/Wasm.h"
Public Member Functions | |
WasmSymbol (const wasm::WasmSymbolInfo &Info, const wasm::WasmGlobalType *GlobalType, const wasm::WasmTableType *TableType, const wasm::WasmSignature *Signature) | |
bool | isTypeFunction () const |
bool | isTypeTable () const |
bool | isTypeData () const |
bool | isTypeGlobal () const |
bool | isTypeSection () const |
bool | isTypeTag () const |
bool | isDefined () const |
bool | isUndefined () const |
bool | isBindingWeak () const |
bool | isBindingGlobal () const |
bool | isBindingLocal () const |
unsigned | getBinding () const |
bool | isHidden () const |
unsigned | getVisibility () const |
LLVM_ABI void | print (raw_ostream &Out) const |
LLVM_DUMP_METHOD void | dump () const |
Public Attributes | |
wasm::WasmSymbolInfo | Info |
const wasm::WasmGlobalType * | GlobalType |
const wasm::WasmTableType * | TableType |
const wasm::WasmSignature * | Signature |
|
inline |
Definition at line 38 of file Wasm.h.
References assert(), GlobalType, Info, llvm::wasm::WasmSignature::Placeholder, Signature, and TableType.
LLVM_DUMP_METHOD void WasmSymbol::dump | ( | ) | const |
Definition at line 62 of file WasmObjectFile.cpp.
References llvm::dbgs(), LLVM_DUMP_METHOD, and print().
|
inline |
Definition at line 90 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_BINDING_MASK.
Referenced by isBindingGlobal(), isBindingLocal(), isBindingWeak(), and print().
|
inline |
Definition at line 98 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_VISIBILITY_MASK.
Referenced by isHidden().
|
inline |
Definition at line 82 of file Wasm.h.
References getBinding(), and llvm::wasm::WASM_SYMBOL_BINDING_GLOBAL.
|
inline |
Definition at line 86 of file Wasm.h.
References getBinding(), and llvm::wasm::WASM_SYMBOL_BINDING_LOCAL.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags().
|
inline |
Definition at line 78 of file Wasm.h.
References getBinding(), and llvm::wasm::WASM_SYMBOL_BINDING_WEAK.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags().
|
inline |
Definition at line 72 of file Wasm.h.
References isUndefined().
Referenced by llvm::object::WasmObjectFile::getSymbolFlags(), llvm::object::WasmObjectFile::getSymbolSize(), and print().
|
inline |
Definition at line 94 of file Wasm.h.
References getVisibility(), and llvm::wasm::WASM_SYMBOL_VISIBILITY_HIDDEN.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags(), and print().
|
inline |
Definition at line 60 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_TYPE_DATA.
Referenced by llvm::object::WasmObjectFile::getSymbolSize(), and print().
|
inline |
Definition at line 54 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_TYPE_FUNCTION.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags(), and llvm::object::WasmObjectFile::getSymbolSize().
|
inline |
Definition at line 62 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_TYPE_GLOBAL.
Referenced by llvm::object::WasmObjectFile::getSymbolSize().
|
inline |
Definition at line 66 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_TYPE_SECTION.
|
inline |
Definition at line 58 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_TYPE_TABLE.
|
inline |
Definition at line 70 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_TYPE_TAG.
|
inline |
Definition at line 74 of file Wasm.h.
References Info, and llvm::wasm::WASM_SYMBOL_UNDEFINED.
Referenced by llvm::object::WasmObjectFile::getSymbolSection(), and isDefined().
void WasmSymbol::print | ( | raw_ostream & | Out | ) | const |
Definition at line 37 of file WasmObjectFile.cpp.
References getBinding(), Info, isDefined(), isHidden(), isTypeData(), llvm::toString(), llvm::Twine::utohexstr(), llvm::wasm::WASM_SYMBOL_BINDING_GLOBAL, llvm::wasm::WASM_SYMBOL_BINDING_LOCAL, and llvm::wasm::WASM_SYMBOL_BINDING_WEAK.
Referenced by dump(), and llvm::operator<<().
const wasm::WasmGlobalType* llvm::object::WasmSymbol::GlobalType |
Definition at line 50 of file Wasm.h.
Referenced by WasmSymbol().
wasm::WasmSymbolInfo llvm::object::WasmSymbol::Info |
Definition at line 49 of file Wasm.h.
Referenced by getBinding(), llvm::object::WasmObjectFile::getSymbolName(), llvm::object::WasmObjectFile::getSymbolSize(), llvm::object::WasmObjectFile::getSymbolType(), getVisibility(), llvm::object::WasmObjectFile::getWasmSymbolValue(), isTypeData(), isTypeFunction(), isTypeGlobal(), isTypeSection(), isTypeTable(), isTypeTag(), isUndefined(), print(), and WasmSymbol().
const wasm::WasmSignature* llvm::object::WasmSymbol::Signature |
Definition at line 52 of file Wasm.h.
Referenced by WasmSymbol().
const wasm::WasmTableType* llvm::object::WasmSymbol::TableType |
Definition at line 51 of file Wasm.h.
Referenced by WasmSymbol().