forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20030715-1.c.s
96 lines (88 loc) · 2.73 KB
/
20030715-1.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20030715-1.c"
.section .text.ap_check_cmd_context,"ax",@progbits
.hidden ap_check_cmd_context
.globl ap_check_cmd_context
.type ap_check_cmd_context,@function
ap_check_cmd_context: # @ap_check_cmd_context
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push0=, 0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end0:
.size ap_check_cmd_context, .Lfunc_end0-ap_check_cmd_context
.section .text.server_type,"ax",@progbits
.hidden server_type
.globl server_type
.type server_type,@function
server_type: # @server_type
.param i32, i32, i32
.result i32
.local i32, i32
# BB#0: # %entry
i32.const $3=, 0
block
block
i32.const $push0=, .L.str
i32.call $push1=, strcmp@FUNCTION, $2, $pop0
i32.eqz $push5=, $pop1
br_if 0, $pop5 # 0: down to label1
# BB#1: # %if.else
i32.const $4=, .L.str.2
i32.const $3=, 1
i32.const $push2=, .L.str.1
i32.call $push3=, strcmp@FUNCTION, $2, $pop2
br_if 1, $pop3 # 1: down to label0
.LBB1_2: # %if.end9
end_block # label1:
i32.const $push4=, 0
i32.store $drop=, ap_standalone($pop4), $3
i32.const $4=, 0
.LBB1_3: # %cleanup
end_block # label0:
copy_local $push6=, $4
# fallthrough-return: $pop6
.endfunc
.Lfunc_end1:
.size server_type, .Lfunc_end1-server_type
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push1=, 0
i32.const $push0=, 1
i32.store $drop=, ap_standalone($pop1), $pop0
i32.const $push2=, 0
# fallthrough-return: $pop2
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "inetd"
.size .L.str, 6
.hidden ap_standalone # @ap_standalone
.type ap_standalone,@object
.section .bss.ap_standalone,"aw",@nobits
.globl ap_standalone
.p2align 2
ap_standalone:
.int32 0 # 0x0
.size ap_standalone, 4
.type .L.str.1,@object # @.str.1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str.1:
.asciz "standalone"
.size .L.str.1, 11
.type .L.str.2,@object # @.str.2
.L.str.2:
.asciz "ServerType must be either 'inetd' or 'standalone'"
.size .L.str.2, 50
.ident "clang version 3.9.0 "
.functype strcmp, i32, i32, i32