We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da1a3f commit 249f017Copy full SHA for 249f017
src/rt/arch/i386/morestack.S
@@ -19,6 +19,8 @@
19
#define MORESTACK __morestack
20
#endif
21
22
+// FIXME: Future LLVM patches remove these 8 alignment bytes from
23
+// the function prologue in order to match gcc's behavior
24
#define ALIGNMENT 8
25
#define RETURN_OFFSET 7
26
src/rt/rust_task.cpp
@@ -588,6 +588,9 @@ rust_task::del_stack() {
588
589
void
590
rust_task::record_stack_limit() {
591
+ // FIXME: Future LLVM patches expect us to add an additional 256 bytes
592
+ // here so that, if the frame size is < 256 it can generate the
593
+ // comparison against esp directly, instead of some offset from esp
594
record_sp(stk->data + RED_ZONE_SIZE);
595
}
596
//
0 commit comments