xref: /llvm-project-15.0.7/llvm/test/MC/WebAssembly/objdump.s (revision 71e2ca6e)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -o %t.o -mattr=+simd128,+nontrapping-fptoint,+exception-handling < %s
2# RUN: llvm-objdump -triple=wasm32-unknown-unknown -disassemble %t.o | FileCheck %s
3
4test0:
5    .functype   test0 (i32, i64) -> (i32)
6    .local      f32, f64, v128, v128
7    local.get   2
8    end_function
9
10test1:
11    .functype   test1 (i32, i64) -> (i32)
12    .local      i32, i64, exnref
13    local.get   3
14    end_function
15
16
17# CHECK-LABEL: CODE:
18# CHECK:             # 2 functions in section.
19# CHECK-LABEL: <test0>:
20# CHECK-NEXT:        .local  f32, f64, v128, v128
21# CHECK-NEXT:       9:       20 02  local.get	2
22# CHECK-NEXT:       b:       0b     end
23# CHECK-LABEL: <test1>:
24# CHECK-NEXT:        .local  i32, i64, exnref
25# CHECK-NEXT:      14:       20 03  local.get	3
26# CHECK-NEXT:      16:       0b     end
27

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026