projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc182aa
)
revert debugging
author
Sam Clegg
<sbc@chromium.org>
Wed, 26 Apr 2017 00:02:39 +0000
(
00:02
+0000)
committer
Sam Clegg
<sbc@chromium.org>
Wed, 26 Apr 2017 00:02:39 +0000
(
00:02
+0000)
llvm-svn: 301370
llvm/lib/Object/WasmObjectFile.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Object/WasmObjectFile.cpp
b/llvm/lib/Object/WasmObjectFile.cpp
index
4e1f237
..
9f3486e
100644
(file)
--- a/
llvm/lib/Object/WasmObjectFile.cpp
+++ b/
llvm/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<GenericBinaryError>("Bad relocation type
: " + Twine(Reloc.Type)
,
+ return make_error<GenericBinaryError>("Bad relocation type
"
,
object_error::parse_failed);
}
Section->Relocations.push_back(Reloc);