-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore minor heap pointer after a Stack_overflow (#10633)
* Restore minor heap pointer after a Stack_overflow When CONTEXT_YOUNG_PTR is defined but CONTEXT_EXCEPTION_POINTER is not, as in amd64/Linux, Caml_state->young_ptr was not updated from CONTEXT_YOUNG_PTR. * Update ARM and ARM64 register descriptions w.r.t. signal handling ARM: the exception pointer is now in register r8. ARM64: the exception pointer register was missing. (But is not used currently, as we use the RETURN_AFTER_STACK_OVERFLOW method on ARM64). Co-authored-by: Xavier Leroy <xavier.leroy@college-de-france.fr>
- Loading branch information
1 parent
f9fe08c
commit e20fe18
Showing
6 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ x = 20000 | |
x = 10000 | ||
x = 0 | ||
second Stack overflow caught | ||
!p = 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ x = 20000 | |
x = 10000 | ||
x = 0 | ||
second Stack overflow caught | ||
!p = 42 |