summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/WebAssembly/weak-alias.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/WebAssembly/weak-alias.ll')
-rw-r--r--llvm/test/MC/WebAssembly/weak-alias.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/MC/WebAssembly/weak-alias.ll b/llvm/test/MC/WebAssembly/weak-alias.ll
index 82431d5468d..2d2415991a0 100644
--- a/llvm/test/MC/WebAssembly/weak-alias.ll
+++ b/llvm/test/MC/WebAssembly/weak-alias.ll
@@ -1,7 +1,9 @@
-; RUN: llc -mtriple wasm32-unknown-unknown-wasm -filetype=obj %s -o %t.o
+; RUN: llc -filetype=obj %s -o %t.o
; RUN: obj2yaml %t.o | FileCheck %s
; RUN: llvm-objdump -t %t.o | FileCheck --check-prefix=CHECK-SYMS %s
+target triple = "wasm32-unknown-unknown-wasm"
+
; 'foo_alias()' is weak alias of function 'foo()'
; 'bar_alias' is weak alias of global variable 'bar'
; Generates two exports of the same function, one of them weak
OpenPOWER on IntegriCloud