summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/undefined-data.ll
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/test/wasm/undefined-data.ll
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/test/wasm/undefined-data.ll')
-rw-r--r--lld/test/wasm/undefined-data.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/wasm/undefined-data.ll b/lld/test/wasm/undefined-data.ll
index 8063d333efa..21691bc3cfc 100644
--- a/lld/test/wasm/undefined-data.ll
+++ b/lld/test/wasm/undefined-data.ll
@@ -13,4 +13,4 @@ entry:
}
; UNDEF: undefined symbol: data_external
-; BADRELOC: undefined-data.ll.tmp.o: relocation of type R_WASM_MEMORY_ADDR_* against undefined data symbol: data_external
+; BADRELOC: undefined-data.ll.tmp.o: relocation R_WASM_MEMORY_ADDR_LEB cannot be used againt symbol data_external; recompile with -fPIC
OpenPOWER on IntegriCloud