[WebAssembly] Improve invalid relocation error message
authorSam Clegg <sbc@chromium.org>
Thu, 28 Mar 2019 02:02:07 +0000 (02:02 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 28 Mar 2019 02:02:07 +0000 (02:02 +0000)
commit0805ec5f7b5c80474352531a99e721c30e73e77f
tree4687e8c852bd07c008e6b9317befa58a7d6916c2
parent0a2d0c1f5ff018576681c5514846ad1963f7b1a2
[WebAssembly] Improve invalid relocation error message

This message now matches the equivalent message in the ELF linker.

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

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