This function was added in rL331220 but wasn't
testing in release configurations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331320
91177308-0d34-0410-b5e6-
96231b3b80d8
#define DEBUG_TYPE "mc"
+#if !defined(NDEBUG)
static std::string toString(wasm::WasmSymbolType type) {
switch (type) {
case wasm::WASM_SYMBOL_TYPE_FUNCTION:
}
llvm_unreachable("unknown symbol type");
}
+#endif
static std::string relocTypetoString(uint32_t type) {
switch (type) {