RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/start.s -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 a name section | |
CHECK: Name: name |