1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
2 # RUN: wasm-ld %t.o -o %t.wasm
3 # RUN: obj2yaml %t.wasm | FileCheck %s
7 .functype _start () -> ()
11 .functype foo () -> ()
14 .section .text.bar,"",@
18 .functype bar () -> ()
22 .type _start,@function
24 .functype _start () -> ()
29 .section .custom_section.llvm.func_attr.custom0,"",@
33 # CHECK: - Type: CUSTOM
34 # CHECK-NEXT: Name: llvm.func_attr.custom0
35 # CHECK-NEXT: Payload: '0000000001000000'