13 case wasm::WASM_SYMBOL_TYPE_FUNCTION:
14 return "WASM_SYMBOL_TYPE_FUNCTION";
15 case wasm::WASM_SYMBOL_TYPE_GLOBAL:
16 return "WASM_SYMBOL_TYPE_GLOBAL";
17 case wasm::WASM_SYMBOL_TYPE_TABLE:
18 return "WASM_SYMBOL_TYPE_TABLE";
19 case wasm::WASM_SYMBOL_TYPE_DATA:
20 return "WASM_SYMBOL_TYPE_DATA";
21 case wasm::WASM_SYMBOL_TYPE_SECTION:
22 return "WASM_SYMBOL_TYPE_SECTION";
23 case wasm::WASM_SYMBOL_TYPE_TAG:
24 return "WASM_SYMBOL_TYPE_TAG";
31#define WASM_RELOC(NAME, VALUE) \
34#include "llvm/BinaryFormat/WasmRelocs.def"
43 case wasm::WASM_SEC_##X: \
68 case R_WASM_MEMORY_ADDR_LEB:
69 case R_WASM_MEMORY_ADDR_LEB64:
70 case R_WASM_MEMORY_ADDR_SLEB:
71 case R_WASM_MEMORY_ADDR_SLEB64:
72 case R_WASM_MEMORY_ADDR_REL_SLEB:
73 case R_WASM_MEMORY_ADDR_REL_SLEB64:
74 case R_WASM_MEMORY_ADDR_I32:
75 case R_WASM_MEMORY_ADDR_I64:
76 case R_WASM_MEMORY_ADDR_TLS_SLEB:
77 case R_WASM_MEMORY_ADDR_TLS_SLEB64:
78 case R_WASM_FUNCTION_OFFSET_I32:
79 case R_WASM_FUNCTION_OFFSET_I64:
80 case R_WASM_SECTION_OFFSET_I32:
81 case R_WASM_MEMORY_ADDR_LOCREL_I32:
#define FUNCTION(NAME, NARG, ROUND_MODE, INTRINSIC)
static constexpr auto TAG
StringRef - Represent a constant reference to a string, i.e.
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.
llvm::StringRef toString(WasmSymbolType type)
bool relocTypeHasAddend(uint32_t type)
llvm::StringRef sectionTypeToString(uint32_t type)
llvm::StringRef relocTypetoString(uint32_t type)