| .text |
| .file "src/work/binaryen/test/linker/main.c" |
| .section .text.foo,"ax",@progbits |
| .hidden foo |
| .globl foo |
| .type foo,@function |
| foo: # @foo |
| .result i32 |
| .local i32 |
| # BB#0: # %entry |
| i32.const $0=, 42 |
| return $0 |
| .endfunc |
| .Lfunc_end0: |
| .size foo, .Lfunc_end0-foo |
| |
| .section .text.main,"ax",@progbits |
| .hidden main |
| .globl main |
| .type main,@function |
| main: # @main |
| .result i32 |
| .local i32 |
| # BB#0: # %entry |
| i32.call $drop=, foo@FUNCTION |
| call bar@FUNCTION |
| i32.const $0=, 0 |
| return $0 |
| .endfunc |
| .Lfunc_end1: |
| .size main, .Lfunc_end1-main |
| |
| |
| .ident "clang version 3.9.0 (trunk 267883) (llvm/trunk 267901)" |