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 BackoutJitData #54711

Merged
merged 2 commits into from
Jun 25, 2021
Merged

Fix BackoutJitData #54711

merged 2 commits into from
Jun 25, 2021

Conversation

janvorli
Copy link
Member

The RemoveJitData that the BackoutJitData calls requires the code
header to be copied to the final location. This change fixes it.

I've also found that in one of my previous changes, I've accidentally
enabled jitting into a scratch buffer by default by adding the
FEATURE_WXORX define. So I am removing it in this change, it will
be replaced by a dynamic check whether W^X is enabled in the final
W^X change.

Close #54706

The RemoveJitData that the BackoutJitData calls requires the code
header to be copied to the final location. This change fixes it.

I've also found that in one of my previous changes, I've accidentally
enabled jitting into a scratch buffer by default by adding the
FEATURE_WXORX define. So I am removing it in this change, it will
be replaced by a dynamic check whether W^X is enabled in the final
W^X change.
@janvorli janvorli added this to the 6.0.0 milestone Jun 25, 2021
@janvorli janvorli requested a review from jkotas June 25, 2021 01:04
@janvorli janvorli self-assigned this Jun 25, 2021
@janvorli
Copy link
Member Author

cc: @BruceForstall

I have not realized that the FEATURE_WXORX needs to stay for Apple
Silicon.
@BruceForstall
Copy link
Member

Thanks for the quick fix!

@janvorli janvorli merged commit 3924d03 into dotnet:main Jun 25, 2021
@janvorli janvorli deleted the fix-jit-backout branch June 25, 2021 17:06
@ghost ghost locked as resolved and limited conversation to collaborators Jul 25, 2021
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.

altjit backout is broken
3 participants