-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Conversation
I'll continue working on from Line 799. there are more functions to be fixed. |
Now, it seems that I've reviewed and corrected every single ASM/ARM function that is going to be unwinded. I assume that |
TEST RESULTS:
Based: dfcb7f0 + #4503 + Modified #4581. Modified #4581 is:
|
@dotnet-bot test OSX x64 Checked Build Please |
e21618e
to
6019ca3
Compare
Fix #4638 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
This commit revises the implementation of CallEHFunclet to establish stack frame appropriately. This commit allows libunwind to work correctly for the frame created by CallEHFunclet. This revises the PR suggested by dotnet#4581, which fixes #4579 Edited-by: MyungJoo Ham <myungjoo.ham@samsung.com>
@@ -287,7 +287,10 @@ LOCAL_LABEL(LNullThis): | |||
// | |||
NESTED_ENTRY TheUMEntryPrestub,_TEXT,NoHandler | |||
|
|||
push {r0-r4,lr} | |||
.save {r0-r4,r7,r8,lr} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use PROLOG_PUSH followed by PROLOG_STACK_SAVE_OFFSET here and at several other places below? We have a convention to not to use the unwinder pseudoinstructions directly in the .S files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure we can. The patchset is updated to use the macro.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
@dotnet-bot Test OSX x64 Checked Build and Test Please |
LGTM, thanks! |
@janvorli OSX x64 Checked Build and Test failed with "No space left on device" error as follows:
Is there any issue with test VM? |
@parjong yes, we have issues with OSX CI machines at the moment, most of the test runs are failing. The issue is not a disk space problem though, it is a semaphore leak that was accumulating over time and now it has hit. |
@janvorli Thanks you for comment 👍 |
I am going to merge this in since the change is completely unrelated to OSX and doesn't touch any OSX related files. |
ARM: fix stack frame management Fix dotnet/coreclr#4638 This commit revises the implementation of CallEHFunclet to establish stack frame appropriately. This commit allows libunwind to work correctly for the frame created by CallEHFunclet. Commit migrated from dotnet/coreclr@57185b4
Fix #4638
There have been a lot of ASM functions that may break stack unwinding.
Tested along with @parjong 's
#4503(merged)and modified
#4581(appended in included in this PR)Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com