diff options
Diffstat (limited to 'test/wasm/strip-debug.test')
-rw-r--r-- | test/wasm/strip-debug.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/wasm/strip-debug.test b/test/wasm/strip-debug.test new file mode 100644 index 000000000000..57667a9f4406 --- /dev/null +++ b/test/wasm/strip-debug.test @@ -0,0 +1,6 @@ +RUN: llc -filetype=obj -mtriple=wasm32-unknown-uknown-wasm %p/Inputs/ret32.ll -o %t.ret32.o +RUN: lld -flavor wasm --strip-debug --entry=ret32 -o %t.wasm %t.ret32.o +RUN: obj2yaml %t.wasm | FileCheck %s + +# Check that there is no name section +CHECK-NOT: Name: name |