forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20000910-2.c.s
66 lines (61 loc) · 1.66 KB
/
20000910-2.c.s
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20000910-2.c"
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
block
i32.const $push7=, 0
i32.load $push0=, list($pop7)
i32.const $push6=, 42
i32.call $push1=, strchr@FUNCTION, $pop0, $pop6
i32.eqz $push10=, $pop1
br_if 0, $pop10 # 0: down to label1
# BB#1: # %if.then.i
i32.const $push9=, 0
i32.load $push2=, list+4($pop9)
i32.const $push8=, 42
i32.call $push3=, strchr@FUNCTION, $pop2, $pop8
i32.eqz $push11=, $pop3
br_if 1, $pop11 # 1: down to label0
# BB#2: # %foo.exit
i32.const $push4=, 0
return $pop4
.LBB0_3: # %if.then2.i
end_block # label1:
call abort@FUNCTION
unreachable
.LBB0_4: # %if.else.i
end_block # label0:
i32.const $push5=, 0
call exit@FUNCTION, $pop5
unreachable
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "*"
.size .L.str, 2
.type .L.str.1,@object # @.str.1
.L.str.1:
.asciz "e"
.size .L.str.1, 2
.hidden list # @list
.type list,@object
.section .data.list,"aw",@progbits
.globl list
.p2align 2
list:
.int32 .L.str
.int32 .L.str.1
.size list, 8
.ident "clang version 3.9.0 "
.functype abort, void
.functype exit, void, i32
.functype strchr, i32, i32, i32