summaryrefslogtreecommitdiff
path: root/test/wasm/strip-debug.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm/strip-debug.test')
-rw-r--r--test/wasm/strip-debug.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm/strip-debug.test b/test/wasm/strip-debug.test
index ca4b02a4a5fb..be5ba700e258 100644
--- a/test/wasm/strip-debug.test
+++ b/test/wasm/strip-debug.test
@@ -1,5 +1,5 @@
-RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown-wasm %p/Inputs/ret32.ll -o %t.ret32.o
-RUN: lld -flavor wasm --strip-debug --entry=ret32 -o %t.wasm %t.ret32.o
+RUN: llc -filetype=obj %p/Inputs/start.ll -o %t.start.o
+RUN: wasm-ld --strip-debug -o %t.wasm %t.start.o
RUN: obj2yaml %t.wasm | FileCheck %s
# Check that there is no name section