Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArgIterator::GetNextOffset for macOS arm64 #48632

Merged
2 commits merged into from
Feb 23, 2021

Conversation

janvorli
Copy link
Member

The ArgIterator::GetNextOffset method was not aligning stack offsets it returns
for reference types and some others on macOS arm64. That was causing
coreclr test failures with GCStress mode 3.

This change fixes it by properly aligning the returned offsets.

The ArgIterator::GetNextOffset method was not aligning offsets it returns
for reference types and some others. That was causing coreclr test failures
with GCStress mode 3.

This change fixes it by properly aligning the returned offsets.
@janvorli janvorli added this to the 6.0.0 milestone Feb 22, 2021
@janvorli janvorli self-assigned this Feb 22, 2021
int alignment;
if (!isValueType)
{
_ASSERTE((cbArg & (cbArg - 1)) == 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: indentation is off.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for noticing this, fixed.

@ghost
Copy link

ghost commented Feb 23, 2021

Hello @janvorli!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit d5ab93c into dotnet:master Feb 23, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants