[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
This commit is contained in:
parent
2d0896c1cb
commit
ba86f2a22e
|
@ -2,7 +2,7 @@
|
|||
; RUN: wasm-ld --no-gc-sections --allow-undefined -pie -o %t.wasm %t.o
|
||||
; RUN: obj2yaml %t.wasm | FileCheck %s
|
||||
|
||||
target triple = "wasm32-unknown-unknown"
|
||||
target triple = "wasm32-unknown-emscripten"
|
||||
|
||||
@data = global i32 2, align 4
|
||||
@data_external = external global i32
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue