-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add tests for ref field overlap with OBJECTREF and non-aligned ref fields.
#64643
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
Conversation
|
/cc @fanyang-mono |
|
Ah, almost forgot - crossgen2/NativeAOT has equivalent check that was added in dotnet/coreclr#27054. Could you please update that one too? |
|
@MichalStrehovsky Seems like CrossGen2 is already correct? runtime/src/coreclr/tools/Common/TypeSystem/Common/ExplicitLayoutValidator.cs Lines 138 to 146 in 8d8fb8b
|
Heh, looks like it. I don't know why we did so much untestable futureproofing (including the previous in JitInterface) but I guess it's nice now. |
MichalStrehovsky
left a comment
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.
Thank you!
ref field overlap with OBJECTREF and non-aligned ref fields.
|
The WasmBuildTests PR leg failures predate this PR according to AzDO history. |
Fixes #64520
/cc @MichalStrehovsky @vargaz