summaryrefslogtreecommitdiffstats
path: root/lld/wasm/InputChunks.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-03-28 02:02:07 +0000
committerSam Clegg <sbc@chromium.org>2019-03-28 02:02:07 +0000
commit0805ec5f7b5c80474352531a99e721c30e73e77f (patch)
tree4687e8c852bd07c008e6b9317befa58a7d6916c2 /lld/wasm/InputChunks.h
parent0a2d0c1f5ff018576681c5514846ad1963f7b1a2 (diff)
downloadbcm5719-llvm-0805ec5f7b5c80474352531a99e721c30e73e77f.tar.gz
bcm5719-llvm-0805ec5f7b5c80474352531a99e721c30e73e77f.zip
[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
Diffstat (limited to 'lld/wasm/InputChunks.h')
-rw-r--r--lld/wasm/InputChunks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/wasm/InputChunks.h b/lld/wasm/InputChunks.h
index 20b8f01f61a..8f0999abac6 100644
--- a/lld/wasm/InputChunks.h
+++ b/lld/wasm/InputChunks.h
@@ -218,6 +218,8 @@ protected:
} // namespace wasm
std::string toString(const wasm::InputChunk *);
+StringRef reloctTypeToString(uint8_t RelocType);
+
} // namespace lld
#endif // LLD_WASM_INPUT_CHUNKS_H
OpenPOWER on IntegriCloud