]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "20040823-1.c" | |
3 | .section .text.bla,"ax",@progbits | |
4 | .hidden bla # -- Begin function bla | |
5 | .globl bla | |
6 | .type bla,@function | |
7 | bla: # @bla | |
8 | # BB#0: # %entry | |
9 | block | |
10 | i32.const $push2=, 0 | |
11 | i32.load $push0=, pwarn($pop2) | |
12 | i32.load $push1=, 0($pop0) | |
13 | br_if 0, $pop1 # 0: down to label0 | |
14 | # BB#1: # %if.then | |
15 | call abort@FUNCTION | |
16 | unreachable | |
17 | .LBB0_2: # %if.end | |
18 | end_block # label0: | |
19 | i32.const $push3=, 0 | |
20 | call exit@FUNCTION, $pop3 | |
21 | unreachable | |
22 | .endfunc | |
23 | .Lfunc_end0: | |
24 | .size bla, .Lfunc_end0-bla | |
25 | # -- End function | |
26 | .section .text.main,"ax",@progbits | |
27 | .hidden main # -- Begin function main | |
28 | .globl main | |
29 | .type main,@function | |
30 | main: # @main | |
31 | .result i32 | |
32 | .local i32 | |
33 | # BB#0: # %entry | |
34 | i32.const $push5=, 0 | |
35 | i32.const $push3=, 0 | |
36 | i32.load $push2=, __stack_pointer($pop3) | |
37 | i32.const $push4=, 16 | |
38 | i32.sub $push9=, $pop2, $pop4 | |
39 | tee_local $push8=, $0=, $pop9 | |
40 | i32.store __stack_pointer($pop5), $pop8 | |
41 | i32.const $push0=, 1 | |
42 | i32.store 12($0), $pop0 | |
43 | i32.const $push1=, 0 | |
44 | i32.const $push6=, 12 | |
45 | i32.add $push7=, $0, $pop6 | |
46 | i32.store pwarn($pop1), $pop7 | |
47 | call bla@FUNCTION | |
48 | unreachable | |
49 | .endfunc | |
50 | .Lfunc_end1: | |
51 | .size main, .Lfunc_end1-main | |
52 | # -- End function | |
53 | .hidden pwarn # @pwarn | |
54 | .type pwarn,@object | |
55 | .section .bss.pwarn,"aw",@nobits | |
56 | .globl pwarn | |
57 | .p2align 2 | |
58 | pwarn: | |
59 | .int32 0 | |
60 | .size pwarn, 4 | |
61 | ||
62 | ||
63 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" | |
64 | .functype abort, void | |
65 | .functype exit, void, i32 |