LLVM
8.0.1
|
#include "llvm/Object/Wasm.h"
Public Member Functions | |
WasmSymbol (const wasm::WasmSymbolInfo &Info, const wasm::WasmGlobalType *GlobalType, const wasm::WasmEventType *EventType, const wasm::WasmSignature *Signature) | |
bool | isTypeFunction () const |
bool | isTypeData () const |
bool | isTypeGlobal () const |
bool | isTypeSection () const |
bool | isTypeEvent () 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 |
void | print (raw_ostream &Out) const |
LLVM_DUMP_METHOD void | dump () const |
Public Attributes | |
const wasm::WasmSymbolInfo & | Info |
const wasm::WasmGlobalType * | GlobalType |
const wasm::WasmEventType * | EventType |
const wasm::WasmSignature * | Signature |
|
inline |
LLVM_DUMP_METHOD void WasmSymbol::dump | ( | ) | const |
Definition at line 53 of file WasmObjectFile.cpp.
References llvm::dbgs(), and print().
Referenced by getVisibility().
|
inline |
Definition at line 85 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Flags, and llvm::wasm::WASM_SYMBOL_BINDING_MASK.
Referenced by isBindingGlobal(), isBindingLocal(), and isBindingWeak().
|
inline |
Definition at line 93 of file Wasm.h.
References dump(), llvm::wasm::WasmSymbolInfo::Flags, LLVM_DUMP_METHOD, print(), and llvm::wasm::WASM_SYMBOL_VISIBILITY_MASK.
Referenced by isHidden().
|
inline |
Definition at line 77 of file Wasm.h.
References getBinding(), and llvm::wasm::WASM_SYMBOL_BINDING_GLOBAL.
|
inline |
Definition at line 81 of file Wasm.h.
References getBinding(), and llvm::wasm::WASM_SYMBOL_BINDING_LOCAL.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags().
|
inline |
Definition at line 73 of file Wasm.h.
References getBinding(), and llvm::wasm::WASM_SYMBOL_BINDING_WEAK.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags().
|
inline |
Definition at line 67 of file Wasm.h.
References isUndefined().
Referenced by llvm::object::WasmObjectFile::getSymbolFlags(), and print().
|
inline |
Definition at line 89 of file Wasm.h.
References getVisibility(), and llvm::wasm::WASM_SYMBOL_VISIBILITY_HIDDEN.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags().
|
inline |
Definition at line 55 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Kind, and llvm::wasm::WASM_SYMBOL_TYPE_DATA.
Referenced by print().
|
inline |
Definition at line 65 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Kind, and llvm::wasm::WASM_SYMBOL_TYPE_EVENT.
|
inline |
Definition at line 51 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Kind, and llvm::wasm::WASM_SYMBOL_TYPE_FUNCTION.
Referenced by llvm::object::WasmObjectFile::getSymbolFlags().
|
inline |
Definition at line 57 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Kind, and llvm::wasm::WASM_SYMBOL_TYPE_GLOBAL.
|
inline |
Definition at line 61 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Kind, and llvm::wasm::WASM_SYMBOL_TYPE_SECTION.
|
inline |
Definition at line 69 of file Wasm.h.
References llvm::wasm::WasmSymbolInfo::Flags, and llvm::wasm::WASM_SYMBOL_UNDEFINED.
Referenced by llvm::object::WasmObjectFile::getSymbolSection(), and isDefined().
void WasmSymbol::print | ( | raw_ostream & | Out | ) | const |
Definition at line 39 of file WasmObjectFile.cpp.
References llvm::wasm::WasmSymbolInfo::DataRef, llvm::wasm::WasmSymbolInfo::ElementIndex, llvm::wasm::WasmSymbolInfo::Flags, Info, isDefined(), isTypeData(), llvm::wasm::WasmSymbolInfo::Kind, llvm::wasm::WasmSymbolInfo::Name, llvm::wasm::WasmDataReference::Offset, llvm::wasm::WasmDataReference::Segment, llvm::wasm::WasmDataReference::Size, and llvm::toString().
Referenced by dump(), getVisibility(), and llvm::operator<<().
const wasm::WasmEventType* llvm::object::WasmSymbol::EventType |
const wasm::WasmGlobalType* llvm::object::WasmSymbol::GlobalType |
const wasm::WasmSymbolInfo& llvm::object::WasmSymbol::Info |
Definition at line 46 of file Wasm.h.
Referenced by llvm::object::WasmObjectFile::getSymbolName(), llvm::object::WasmObjectFile::getSymbolSection(), llvm::object::WasmObjectFile::getSymbolType(), llvm::object::WasmObjectFile::getWasmSymbolValue(), and print().
const wasm::WasmSignature* llvm::object::WasmSymbol::Signature |