Re-land "[WebAssembly] Improve invalid relocation error message""
authorSam Clegg <sbc@chromium.org>
Fri, 29 Mar 2019 22:56:39 +0000 (22:56 +0000)
committerSam Clegg <sbc@chromium.org>
Fri, 29 Mar 2019 22:56:39 +0000 (22:56 +0000)
commite3a845e25ecc541f37dac31c7f2d6c5e7eb5c310
tree03797ef0efc09c5d5252938db16195ce4c27ea2b
parentc8d6e0496dc3bd44e15d640cd2c465cbfd1a6b08
Re-land "[WebAssembly] Improve invalid relocation error message""

See https://reviews.llvm.org/D59860

The initial version of this change effected more than just the
error message.  This version is scoped down to only effect the error
itself.

llvm-svn: 357328
lld/test/wasm/undefined-data.ll
lld/wasm/InputChunks.cpp
lld/wasm/InputChunks.h
lld/wasm/Writer.cpp