14 #ifndef LLVM_BINARYFORMAT_WASM_H 15 #define LLVM_BINARYFORMAT_WASM_H 47 std::vector<std::pair<std::string, std::string>>
Languages;
48 std::vector<std::pair<std::string, std::string>>
Tools;
49 std::vector<std::pair<std::string, std::string>>
SDKs;
338 #define WASM_RELOC(name, value) name = value, 341 #include "WasmRelocs.def" 360 enum { Plain, Empty, Tombstone } State = Plain;
364 : Returns(InReturns), Params(InParams) {}
375 return !(LHS == RHS);
383 return !(LHS == RHS);
std::vector< WasmInitFunc > InitFunctions
This class represents lattice values for constants.
bool relocTypeHasAddend(uint32_t type)
const unsigned WASM_SYMBOL_BINDING_LOCAL
const uint32_t WasmMetadataVersion
std::vector< std::pair< std::string, std::string > > Languages
std::vector< StringRef > Comdats
const unsigned WASM_SYMBOL_UNDEFINED
bool operator==(const WasmSignature &LHS, const WasmSignature &RHS)
SmallVector< ValType, 1 > Returns
const unsigned WASM_SYMBOL_NO_STRIP
bool operator!=(const WasmSignature &LHS, const WasmSignature &RHS)
const uint32_t WasmVersion
SmallVector< ValType, 4 > Params
ArrayRef< uint8_t > Content
std::string relocTypetoString(uint32_t type)
const unsigned WASM_SYMBOL_VISIBILITY_DEFAULT
std::vector< uint32_t > Functions
const unsigned WASM_SYMBOL_VISIBILITY_HIDDEN
const unsigned WASM_SYMBOL_BINDING_WEAK
uint32_t CodeSectionOffset
const unsigned WASM_SYMBOL_VISIBILITY_MASK
std::vector< std::pair< std::string, std::string > > SDKs
std::vector< StringRef > Needed
std::string toString(WasmSymbolType type)
const unsigned WASM_SYMBOL_EXPLICIT_NAME
const unsigned WASM_SYMBOL_BINDING_GLOBAL
std::vector< std::pair< std::string, std::string > > Tools
WasmSignature(SmallVector< ValType, 1 > &&InReturns, SmallVector< ValType, 4 > &&InParams)
enum llvm::wasm::WasmSignature::@156 State
const unsigned WASM_SYMBOL_BINDING_MASK
WasmDataReference DataRef
const uint32_t WasmPageSize
StringRef - Represent a constant reference to a string, i.e.
const unsigned WASM_SYMBOL_EXPORTED
std::vector< WasmSymbolInfo > SymbolTable
std::vector< WasmLocalDecl > Locals