2018-08-05 05:47:16 +08:00
|
|
|
RUN: llc -filetype=obj %p/Inputs/start.ll -o %t.start.o
|
|
|
|
RUN: wasm-ld --strip-debug -o %t.wasm %t.start.o
|
2018-01-18 06:29:21 +08:00
|
|
|
RUN: obj2yaml %t.wasm | FileCheck %s
|
|
|
|
|
2019-02-08 06:07:18 +08:00
|
|
|
# Test alias -S
|
|
|
|
RUN: wasm-ld -S -o %t.wasm %t.start.o
|
|
|
|
RUN: obj2yaml %t.wasm | FileCheck %s
|
|
|
|
|
2018-01-18 06:29:21 +08:00
|
|
|
# Check that there is no name section
|
|
|
|
CHECK-NOT: Name: name
|