| .text |
| .file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c" |
| .section .text.foo,"ax",@progbits |
| .hidden foo |
| .globl foo |
| .type foo,@function |
| foo: # @foo |
| .result i32 |
| # BB#0: # %entry |
| i32.const $push0=, 0 |
| call exit@FUNCTION, $pop0 |
| unreachable |
| .endfunc |
| .Lfunc_end0: |
| .size foo, .Lfunc_end0-foo |
| |
| .section .text.bar,"ax",@progbits |
| .hidden bar |
| .globl bar |
| .type bar,@function |
| bar: # @bar |
| .param i32, i32 |
| # BB#0: # %entry |
| i32.const $push0=, 0 |
| i32.store ap($pop0), $1 |
| i32.call $drop=, foo@FUNCTION |
| unreachable |
| .endfunc |
| .Lfunc_end1: |
| .size bar, .Lfunc_end1-bar |
| |
| .section .text.main,"ax",@progbits |
| .hidden main |
| .globl main |
| .type main,@function |
| main: # @main |
| .result i32 |
| .local i32 |
| # BB#0: # %entry |
| i32.const $push4=, 0 |
| i32.const $push1=, 0 |
| i32.load $push2=, __stack_pointer($pop1) |
| i32.const $push3=, 16 |
| i32.sub $push6=, $pop2, $pop3 |
| tee_local $push5=, $0=, $pop6 |
| i32.store __stack_pointer($pop4), $pop5 |
| i32.const $push0=, 0 |
| i32.store 0($0), $pop0 |
| call bar@FUNCTION, $0, $0 |
| unreachable |
| .endfunc |
| .Lfunc_end2: |
| .size main, .Lfunc_end2-main |
| |
| .hidden ap # @ap |
| .type ap,@object |
| .section .bss.ap,"aw",@nobits |
| .globl ap |
| .p2align 2 |
| ap: |
| .int32 0 |
| .size ap, 4 |
| |
| .hidden f # @f |
| .type f,@object |
| .section .bss.f,"aw",@nobits |
| .globl f |
| .p2align 2 |
| f: |
| .int32 0 # float 0 |
| .size f, 4 |
| |
| |
| .ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)" |
| .functype exit, void, i32 |