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

For RuntimeTypeValue make it dependent on SupportsFrozenRuntimeTypeInstances #96654

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

yowl
Copy link
Contributor

@yowl yowl commented Jan 9, 2024

This PR allows targets to not support preinit in NativeAOT for RuntimeTypeValues. This is based on a new virtual property TargetSupportsWritingFieldData which is based on EETypeNode.SupportsFrozenRuntimeTypeInstances(Type.Context.Target)

Follows dotnet/runtimelab#2473 (review) from NativeAOT-LLVM.

cc @MichalStrehovsky

@yowl yowl requested a review from MichalStrehovsky as a code owner January 9, 2024 00:57
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Jan 9, 2024
@ghost
Copy link

ghost commented Jan 9, 2024

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

This PR allows targets to not support preinit in NativeAOT for RuntimeTypeValues. This is based on a new virtual property TargetSupportsWritingFieldData which is based on EETypeNode.SupportsFrozenRuntimeTypeInstances(Type.Context.Target)

Follows dotnet/runtimelab#2473 (review) from NativeAOT-LLVM.

cc @MichalStrehovsky

Author: yowl
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

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

Thank you!

@MichalStrehovsky MichalStrehovsky merged commit 4276583 into dotnet:main Jan 9, 2024
110 checks passed
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants