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:
f939a32
)
[WebAssemlby][Object] Fix dead code in WasmObjectFile.cpp
author
Sam Clegg
<sbc@chromium.org>
Wed, 29 Sep 2021 14:26:46 +0000
(07:26 -0700)
committer
Sam Clegg
<sbc@chromium.org>
Wed, 29 Sep 2021 15:09:57 +0000
(08:09 -0700)
I introduced this by mistake in https://reviews.llvm.org/
D109595
.
Differential Revision: https://reviews.llvm.org/
D110717
llvm/lib/Object/WasmObjectFile.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Object/WasmObjectFile.cpp
b/llvm/lib/Object/WasmObjectFile.cpp
index 300d08fd39d7c9bd9ab0250df0cb670a8f6a1866..524a691a495d6f099f2de01d0690e88b9f929f0f 100644
(file)
--- a/
llvm/lib/Object/WasmObjectFile.cpp
+++ b/
llvm/lib/Object/WasmObjectFile.cpp
@@
-392,8
+392,7
@@
Error WasmObjectFile::parseDylink0Section(ReadContext &Ctx) {
break;
}
default:
- return make_error<GenericBinaryError>("unknown dylink.0 sub-section",
- object_error::parse_failed);
+ LLVM_DEBUG(dbgs() << "unknown dylink.0 sub-section: " << Type << "\n");
Ctx.Ptr += Size;
break;
}