-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] Resolve breaking change caused by removing ThunkHeap descriptor #113737
Conversation
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.
Pull Request Overview
This pull request adapts the cDAC API to match recent changes in the DAC API by removing the ThunkHeap descriptor.
- Removed ThunkHeap field and property from Module.cs
- Removed the ILoader.GetThunkHeap method from Loader_1.cs
- Updated test descriptors in MockDescriptors.cs to remove the ThunkHeap definition
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/native/managed/cdacreader/Microsoft.Diagnostics.DataContractReader.Contracts/Data/Module.cs | Removed the ThunkHeap initialization and property as per the new DAC API |
src/native/managed/cdacreader/Microsoft.Diagnostics.DataContractReader.Contracts/Contracts/Loader_1.cs | Removed the ILoader.GetThunkHeap method which was no longer needed |
src/native/managed/cdacreader/tests/MockDescriptors/MockDescriptors.cs | Removed the ThunkHeap descriptor from the type field definitions for consistency with the updated API |
Tagging subscribers to this area: @tommcdon |
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.
LGTM
#112460 removed
m_pThunkHeap
fromModule
and the associated datadescriptor.This value is used in a single DAC api which was changed in the same PR.
Modified cDAC api to match new DAC api.
This is a breaking change and could be fixed with a new contract version. However, I think we can ignore this field given the cDAC hasn't really shipped yet.