File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e47f8fc709763581ec2ce4ea052b50cb89a9c4d7
2
+ refs/heads/master: 3e32f6623cf89375ad5e07778da614d2b6300778
Original file line number Diff line number Diff line change @@ -71,6 +71,20 @@ MORESTACK:
71
71
leaq 16 (%rbp ), %rax
72
72
pushq %rax
73
73
74
+ // During unwinding we want to skip our caller since it's not
75
+ // a complete frame and will make the unwinder sad
76
+ #if defined(__linux__)
77
+ // Don't understand this line
78
+ .cfi_offset 16 , 0
79
+ // Tell the unwinding where to get the stack pointer for
80
+ // our grandparent frame
81
+ .cfi_offset %rsp , -24
82
+ #endif
83
+
84
+ // Save the grandparent stack pointer for the unwinder
85
+ leaq 16 (%rbp ), %rax
86
+ pushq %rax
87
+
74
88
// FIXME: libgcc also saves rax. not sure if we need to
75
89
76
90
// Save argument registers
You can’t perform that action at this time.
0 commit comments