summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/strip-debug.test
blob: ca4b02a4a5fbc7f50d1c2514fcf3902c57cd2a90 (plain)
1
2
3
4
5
6
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: obj2yaml %t.wasm | FileCheck %s

# Check that there is no name section
CHECK-NOT:   Name:    name
OpenPOWER on IntegriCloud