forked from OSchip/llvm-project
[LLD][WASM] Handle WASM_SYMBOL_TYPE_SECTION in toString().
Fixes build. If this is not the desired solution, please revert. WasmSymbolType was changed in rL330982 / D44184 llvm-svn: 330984
This commit is contained in:
parent
d4d892ff9f
commit
d338222a8c
|
@ -231,6 +231,8 @@ std::string lld::toString(WasmSymbolType Type) {
|
|||
return "Data";
|
||||
case llvm::wasm::WASM_SYMBOL_TYPE_GLOBAL:
|
||||
return "Global";
|
||||
case llvm::wasm::WASM_SYMBOL_TYPE_SECTION:
|
||||
return "Section";
|
||||
}
|
||||
llvm_unreachable("invalid symbol type");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue