-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
JIT: fix patchpoint offset encoding #68202
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
@jakobbotsch PTAL Current SPMI data (if there is any) will still "work". Will kick off a new ASP.NET collection once this lands. |
src/coreclr/inc/patchpointinfo.h
Outdated
} | ||
|
||
void SetOffset(unsigned localNum, int offset) | ||
{ | ||
m_offsetAndExposureData[localNum] = offset; | ||
m_offsetAndExposureData[localNum] = (offset << OFFSET_SHIFT); |
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.
Seems like this will clear out the exposure bit.
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.
It's always been that way and calling SetIsExposed
was optional. I'll rework this so they get set together.
We can now have Tier0 locals at byte offsets, so rework how the offset information is incoded in patchpoints to make this possible. Closes dotnet#68194.
Revised (and merged/force-pushed to fix up the committer email). |
We can now have Tier0 locals at byte offsets, so rework how the offset information is incoded in patchpoints to make this possible. Closes dotnet#68194.
We can now have Tier0 locals at byte offsets, so rework how the offset
information is incoded in patchpoints to make this possible.
Closes #68194.