forked from OSchip/llvm-project
[WebAssemlby][Object] Fix dead code in WasmObjectFile.cpp
I introduced this by mistake in https://reviews.llvm.org/D109595. Differential Revision: https://reviews.llvm.org/D110717
This commit is contained in:
parent
f939a32e5c
commit
210cbcf476
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue