forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
920810-1.c.s
43 lines (40 loc) · 1.1 KB
/
920810-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
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/920810-1.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32, i32
.result i32
.local i32
# BB#0: # %entry
i32.call $push0=, malloc@FUNCTION, $1
i32.load $push1=, 8($0)
i32.call $push4=, memcpy@FUNCTION, $pop0, $0, $pop1
tee_local $push3=, $2=, $pop4
i32.const $push2=, 0
i32.store $drop=, 4($pop3), $pop2
i32.store $drop=, 0($2), $0
i32.store $drop=, 8($2), $1
copy_local $push5=, $2
# fallthrough-return: $pop5
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 3.9.0 "
.functype malloc, i32, i32
.functype exit, void, i32