[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:
Dan Gohman 2019-06-05 20:59:20 +00:00
parent 2d0896c1cb
commit ba86f2a22e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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