OSDN Git Service

[WebAssembly] Object: Improve error messages on invalid section
authorSam Clegg <sbc@chromium.org>
Sat, 20 Apr 2019 00:11:46 +0000 (00:11 +0000)
committerSam Clegg <sbc@chromium.org>
Sat, 20 Apr 2019 00:11:46 +0000 (00:11 +0000)
commita1f46fe51cd4d10d1b4714e6887bf8cc4cee1a47
tree258d6e9b5d66bf5151830148a164f312e7d41ad6
parentacd8f7a0e558705a4a0d77fd35517f710831c867
[WebAssembly] Object: Improve error messages on invalid section

Also add a test.

Differential Revision: https://reviews.llvm.org/D60836

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358801 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/WasmObjectFile.cpp
test/Object/wasm-invalid-file.yaml