-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate_func_deep_test.s
65 lines (65 loc) · 1.18 KB
/
template_func_deep_test.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
.file "template_func_deep_test.cc"
.intel_syntax noprefix
.text
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
call _Z4funcIiEvv
call _Z4funcIdEvv
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.section .rodata
.LC0:
.string "this is base"
.section .text._Z4funcIiEvv,"axG",@progbits,_Z4funcIiEvv,comdat
.weak _Z4funcIiEvv
.type _Z4funcIiEvv, @function
_Z4funcIiEvv:
.LFB2:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov edi, OFFSET FLAT:.LC0
call puts
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size _Z4funcIiEvv, .-_Z4funcIiEvv
.section .text._Z4funcIdEvv,"axG",@progbits,_Z4funcIdEvv,comdat
.weak _Z4funcIdEvv
.type _Z4funcIdEvv, @function
_Z4funcIdEvv:
.LFB3:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov edi, OFFSET FLAT:.LC0
call puts
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size _Z4funcIdEvv, .-_Z4funcIdEvv
.ident "GCC: (GNU) 4.8.2"
.section .note.GNU-stack,"",@progbits