Repository navigation
Save stack arguments size in InlinedCallFrame.m_Datum on x86 to handle callee's popping of arguments - #26834
Merged
Conversation
…e callee's popping of arguments
Contributor
Author
|
cc @dotnet/jit-contrib |
Contributor
Author
|
I've been able to repro the issue with some stress testing before the fix. I currently have a couple of test instances running in a loop with the fix, and so far there are no crashes/asserts. I'll let it run over the weekend for validation |
jkotas
reviewed
Jan 31, 2020
jkotas
reviewed
Feb 1, 2020
Member
There was a problem hiding this comment.
Suggested change
| #ifdef _TARGET_X86_ | |
| #if defined(TARGET_X86) && !defined(UNIX_X86_ABI) |
- The ifdefs were renamed recently.
- This is for Windows only
Member
There was a problem hiding this comment.
This is for Windows only
For clarity, you can also move all logic inside InlinedCallFrame::UpdateRegDisplay that deals with stack argument sizes under !defined(UNIX_X86_ABI).
Contributor
Author
There was a problem hiding this comment.
Ok, so what's the Unix ABI? Does the caller pop the arguments from the stack? Do we even now support Unix x86?
fadimounir
force-pushed
the
HandleStackPoppingPinvokes
branch
from
February 3, 2020 18:49
1e7a2e0 to
40fe834
Compare
Member
|
src/coreclr/src/jit/lower.cpp has conflicts... |
This was referenced Feb 5, 2020
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix for #2230.