[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:
Sam Clegg 2021-09-29 07:26:46 -07:00
parent f939a32e5c
commit 210cbcf476
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}