From ba86f2a22e7a95020e924baf9203ccfd10df5162 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 5 Jun 2019 20:59:20 +0000 Subject: [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 --- lld/test/wasm/shared.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld/test/wasm/shared.ll') 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 -- cgit v1.2.3