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:
Sam Clegg 2018-05-02 00:10:28 +00:00
parent 210f0e880b
commit d1f0910a54
1 changed files with 2 additions and 0 deletions

View File

@ -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) {