From: Sam Clegg Date: Wed, 26 Apr 2017 00:02:39 +0000 (+0000) Subject: revert debugging X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37b4fd9082fb864c93f55f180798dcb66faf889b;p=llvm revert debugging git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301370 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Object/WasmObjectFile.cpp b/lib/Object/WasmObjectFile.cpp index 4e1f237e17c..9f3486e58a1 100644 --- a/lib/Object/WasmObjectFile.cpp +++ b/lib/Object/WasmObjectFile.cpp @@ -324,7 +324,7 @@ Error WasmObjectFile::parseRelocSection(StringRef Name, const uint8_t *Ptr, Reloc.Addend = readVarint32(Ptr); break; default: - return make_error("Bad relocation type: " + Twine(Reloc.Type), + return make_error("Bad relocation type", object_error::parse_failed); } Section->Relocations.push_back(Reloc);