blob: 09a88e0b14bcfd57b9e3c37e6aed10dbeb054cc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.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)"
|