1 # REQUIRES: webassembly-registered-target
2 # RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o -g
10 .functype bar (i32) -> (i32)
15 # RUN: llvm-symbolizer -e %t.o 3 4 7 8 | FileCheck %s
16 ## Byte 1 is the function length and 2 is the locals declaration.
17 ## Currently no line corresponds to them.
18 ## TODO: create a loc for .functype?
20 ## Test 2 functions to ensure wasm's function-sections system works.
21 # CHECK: wasm-basic.s:6:0
22 # CHECK: wasm-basic.s:7:0
23 # CHECK: wasm-basic.s:11:0
24 # CHECK: wasm-basic.s:11:0