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, 4 insertions, 0 deletions
diff --git a/test/wasm/strip-debug.test b/test/wasm/strip-debug.test
index be5ba700e258..6ee27f8c8a77 100644
--- a/test/wasm/strip-debug.test
+++ b/test/wasm/strip-debug.test
@@ -2,5 +2,9 @@ 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
+# Test alias -S
+RUN: wasm-ld -S -o %t.wasm %t.start.o
+RUN: obj2yaml %t.wasm | FileCheck %s
+
# Check that there is no name section
CHECK-NOT: Name: name