summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/shared.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2019-06-05 20:59:20 +0000
committerDan Gohman <dan433584@gmail.com>2019-06-05 20:59:20 +0000
commitba86f2a22e7a95020e924baf9203ccfd10df5162 (patch)
treefb67389684d040df577ad9282e1ba145e465f5e8 /lld/test/wasm/shared.ll
parent2d0896c1cb90243f12df698e84458016c0c121dc (diff)
downloadbcm5719-llvm-ba86f2a22e7a95020e924baf9203ccfd10df5162.tar.gz
bcm5719-llvm-ba86f2a22e7a95020e924baf9203ccfd10df5162.zip
[WebAssembly] Use Emscripten triples in PIC tests.
With r362638, llc doesn't support -relocation-model=pic with non-Emscripten triples. Update these tests in lld which use -relocation-model=pic to also use Emscripten triples. llvm-svn: 362645
Diffstat (limited to 'lld/test/wasm/shared.ll')
-rw-r--r--lld/test/wasm/shared.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/wasm/shared.ll b/lld/test/wasm/shared.ll
index 9fbbfc099e5..89fae3342ac 100644
--- a/lld/test/wasm/shared.ll
+++ b/lld/test/wasm/shared.ll
@@ -2,7 +2,7 @@
; RUN: wasm-ld -shared -o %t.wasm %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown"
+target triple = "wasm32-unknown-emscripten"
@data = hidden global i32 2, align 4
@data_external = external global i32
OpenPOWER on IntegriCloud