4
#; - function with a space on the stack
5
#; allocated for local variables
10
#; alocate space for local vars
12
.cfi_adjust_cfa_offset 0x1234
17
#; release space of local vars and return
19
.cfi_adjust_cfa_offset -0x1234
24
#; - functions that begins with standard
25
#; prologue: "pushq %rbp; movq %rsp,%rbp"
30
#; prologue, CFI is valid after
36
.cfi_def_cfa_register ebp
42
#; epilogue with valid CFI
43
#; (we're better than gcc :-)
45
.cfi_def_cfa_register esp
50
#; - function that moves frame pointer to
51
#; another register (ebx) and then allocates
52
#; a space for local variables
57
#; save frame pointer to ebx
59
.cfi_def_cfa_register ebx
61
#; alocate space for local vars
62
#; (no .cfi_{def,adjust}_cfa_offset here,
63
#; because CFA is computed from ebx!)
70
#; restore frame pointer from ebx
81
#; only function body that doesn't
82
#; touch the stack at all.
90
#; - standard entry point
102
#; func_all_registers
103
#; - test for all .cfi register numbers.
104
#; This function is never called and the CFI info doesn't make sense.
107
.cfi_startproc simple
109
.cfi_undefined eip ; nop
110
.cfi_undefined eax ; nop
111
.cfi_undefined ecx ; nop
112
.cfi_undefined edx ; nop
113
.cfi_undefined ebx ; nop
114
.cfi_undefined esp ; nop
115
.cfi_undefined ebp ; nop
116
.cfi_undefined esi ; nop
117
.cfi_undefined edi ; nop
118
.cfi_undefined eflags ; nop
120
.cfi_undefined es ; nop
121
.cfi_undefined cs ; nop
122
.cfi_undefined ds ; nop
123
.cfi_undefined ss ; nop
124
.cfi_undefined fs ; nop
125
.cfi_undefined gs ; nop
126
.cfi_undefined tr ; nop
127
.cfi_undefined ldtr ; nop
129
.cfi_undefined mxcsr ; nop
130
.cfi_undefined xmm0 ; nop
131
.cfi_undefined xmm1 ; nop
132
.cfi_undefined xmm2 ; nop
133
.cfi_undefined xmm3 ; nop
134
.cfi_undefined xmm4 ; nop
135
.cfi_undefined xmm5 ; nop
136
.cfi_undefined xmm6 ; nop
137
.cfi_undefined xmm7 ; nop
139
.cfi_undefined fcw ; nop
140
.cfi_undefined fsw ; nop
141
.cfi_undefined st ; nop
142
.cfi_undefined st(1) ; nop
143
.cfi_undefined st(2) ; nop
144
.cfi_undefined st(3) ; nop
145
.cfi_undefined st(4) ; nop
146
.cfi_undefined st(5) ; nop
147
.cfi_undefined st(6) ; nop
148
.cfi_undefined st(7) ; nop
150
.cfi_undefined mm0 ; nop
151
.cfi_undefined mm1 ; nop
152
.cfi_undefined mm2 ; nop
153
.cfi_undefined mm3 ; nop
154
.cfi_undefined mm4 ; nop
155
.cfi_undefined mm5 ; nop
156
.cfi_undefined mm6 ; nop
157
.cfi_undefined mm7 ; nop