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

[cdac] Handle non-default active version and explicit IL code version cases for CodeVersions.GetActiveNativeCodeVersion #109560

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

elinor-fung
Copy link
Member

  • Update CodeVersions.GetActiveNativeCodeVersion to handle non-default active version and explicit IL code version
  • Update RuntimeTypeSystem.GetAddressOfSlot to handle non-virtual slots
  • Add null check for MethodDescCodeData in RuntimeTypeSystem.GetMethodDescVersioningState

Contributes to #99302, #109426

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

};
layout = targetTestHelpers.LayoutFields([
(nameof(Data.NativeCodeVersionNode.Next), DataType.pointer),
(nameof(Data.NativeCodeVersionNode.MethodDesc), DataType.pointer),
(nameof(Data.NativeCodeVersionNode.NativeCode), DataType.pointer),
(nameof(Data.NativeCodeVersionNode.Flags), DataType.uint32),
(nameof(Data.NativeCodeVersionNode.ILVersionId), DataType.nuint),
Copy link
Member Author

Choose a reason for hiding this comment

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

In a separate change, I'm planning on pulling out these arrays of fields into MockDescriptors (and probably breaking that apart a bit) - like we have for other fields.

@elinor-fung elinor-fung merged commit ed9de19 into dotnet:main Nov 8, 2024
148 of 151 checks passed
@elinor-fung elinor-fung deleted the cdac-activecodeversion-iter branch November 8, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants