Repository navigation
[cDAC] Register a ManagedTypeSource contract for NativeAOT - #129826
Merged
max-charlamb merged 1 commit intoJun 24, 2026
Merged
Conversation
Declare that the NativeAOT runtime supports the ManagedTypeSource cDAC contract by adding it to the NativeAOT data descriptor. The contract and its reader (ManagedTypeSource_1) already exist and are used by CoreCLR; the version letter is normalized to the version number, so "n1" resolves to the same ManagedTypeSource_1 reader. Co-authored-by: Copilot <[email protected]>
rcj1
approved these changes
Jun 24, 2026
Contributor
|
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag |
Member
Author
|
/ba-g cDAC datadescriptor addition |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the NativeAOT cDAC data descriptor to advertise support for an additional contract (ManagedTypeSource) so diagnostics tooling can discover it via the contract descriptor.
Changes:
- Add
ManagedTypeSourceto the NativeAOT contract list indatadescriptor.inc.
| CDAC_GLOBAL_CONTRACT(PrecodeStubs, n1) | ||
| CDAC_GLOBAL_CONTRACT(PlatformMetadata, n1) | ||
| CDAC_GLOBAL_CONTRACT(FeatureFlags, c1) | ||
| CDAC_GLOBAL_CONTRACT(ManagedTypeSource, n1) |
This was referenced Jun 25, 2026
eiriktsarpalis
pushed a commit
that referenced
this pull request
Jul 15, 2026
## Summary Registers the `ManagedTypeSource` cDAC contract for the NativeAOT runtime by adding it to the NativeAOT data descriptor (`src/coreclr/nativeaot/Runtime/datadescriptor/datadescriptor.inc`).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Registers the
ManagedTypeSourcecDAC contract for the NativeAOT runtime by adding it to the NativeAOT data descriptor (src/coreclr/nativeaot/Runtime/datadescriptor/datadescriptor.inc).