forked from OSchip/llvm-project
Fix release build breakage
This function was added in rL331220 but wasn't testing in release configurations. llvm-svn: 331320
This commit is contained in:
parent
210f0e880b
commit
d1f0910a54
|
@ -37,6 +37,7 @@ using namespace llvm;
|
|||
|
||||
#define DEBUG_TYPE "mc"
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
static std::string toString(wasm::WasmSymbolType type) {
|
||||
switch (type) {
|
||||
case wasm::WASM_SYMBOL_TYPE_FUNCTION:
|
||||
|
@ -50,6 +51,7 @@ static std::string toString(wasm::WasmSymbolType type) {
|
|||
}
|
||||
llvm_unreachable("unknown symbol type");
|
||||
}
|
||||
#endif
|
||||
|
||||
static std::string relocTypetoString(uint32_t type) {
|
||||
switch (type) {
|
||||
|
|
Loading…
Reference in New Issue