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

[mono] Fix sorting custom attributes in ILStrip #88435

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

akoeplinger
Copy link
Member

The change in #87923 was subtly wrong, the problem is that RID on a Cecil metadata token masks out the token type. We actually have to reconstruct the custom attribute coded-index.

Credit to @lambdageek for the fix.

The change in dotnet#87923 was subtly wrong, the problem is that RID on a Cecil metadata token masks out the token type.
We actually have to reconstruct the custom attribute coded-index.
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 5, 2023
@akoeplinger akoeplinger requested a review from jandupej July 5, 2023 19:02
@ghost ghost assigned akoeplinger Jul 5, 2023
@akoeplinger akoeplinger added area-VM-meta-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 5, 2023
@akoeplinger
Copy link
Member Author

/backport to release/7.0-staging

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2023

Started backporting to release/7.0-staging: https://github.com/dotnet/runtime/actions/runs/5467993606

@lewing lewing merged commit 47f47b8 into dotnet:main Jul 5, 2023
@SamMonoRT
Copy link
Member

Thanks for the quick fix. cc @jandupej

@akoeplinger akoeplinger deleted the fix-ilstrip branch July 6, 2023 10:35
@ghost ghost locked as resolved and limited conversation to collaborators Aug 5, 2023
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.

4 participants