14 return "WASM_SYMBOL_TYPE_FUNCTION";
16 return "WASM_SYMBOL_TYPE_GLOBAL";
18 return "WASM_SYMBOL_TYPE_DATA";
20 return "WASM_SYMBOL_TYPE_SECTION";
22 return "WASM_SYMBOL_TYPE_EVENT";
29 #define WASM_RELOC(NAME, VALUE) \ 32 #include "llvm/BinaryFormat/WasmRelocs.def" 41 case R_WASM_MEMORY_ADDR_LEB:
42 case R_WASM_MEMORY_ADDR_SLEB:
43 case R_WASM_MEMORY_ADDR_REL_SLEB:
44 case R_WASM_MEMORY_ADDR_I32:
45 case R_WASM_FUNCTION_OFFSET_I32:
46 case R_WASM_SECTION_OFFSET_I32:
bool relocTypeHasAddend(uint32_t type)
std::string relocTypetoString(uint32_t type)
The instances of the Type class are immutable: once they are created, they are never changed...
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
std::string toString(WasmSymbolType type)