File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -213,15 +213,6 @@ MORESTACK:
213
213
214
214
popl %ebp
215
215
216
- // FIXME: I don't think these rules are necessary
217
- // since the unwinder should never encounter an instruction
218
- // pointer pointing here.
219
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
220
- // Restore the rule for how to find %ebp
221
- .cfi_restore %ebp
222
- // Tell the unwinder how to find the CFA in terms of %esp
223
- .cfi_def_cfa %esp , 16
224
- #endif
225
216
retl $8
226
217
227
218
.L$bail:
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ MORESTACK:
51
51
52
52
subq $184 , %rsp
53
53
54
- // FIXME: libgcc also saves rax. not sure if we need to
54
+ // FIXME: libgcc also saves rax. not sure if we need to (#2685)
55
55
56
56
// Save argument registers of the original function
57
57
movq %rdi , (%rsp )
@@ -133,11 +133,6 @@ MORESTACK:
133
133
134
134
popq %rax // Restore the return value
135
135
popq %rbp
136
- // FIXME: I don't think these rules are necessary
137
- // since the unwinder should never encounter an instruction
138
- // pointer pointing here.
139
- .cfi_restore %rbp
140
- .cfi_def_cfa %rsp , 16
141
136
ret
142
137
143
138
.cfi_endproc
You can’t perform that action at this time.
0 commit comments