[cDAC] Implement GetCurrentAppDomain on IXCLRDataTask#124996
[cDAC] Implement GetCurrentAppDomain on IXCLRDataTask#124996barosiak merged 8 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag |
There was a problem hiding this comment.
Pull request overview
Implements IXCLRDataTask.GetCurrentAppDomain for cDAC by introducing an IXCLRDataAppDomain COM interface and a managed wrapper, plus associated signature tighten-ups and a unit test.
Changes:
- Add
IXCLRDataAppDomainCOM interface andClrDataAppDomainwrapper type. - Implement
ClrDataTask.GetCurrentAppDomainby reading the AppDomain global and returning aClrDataAppDomain. - Update several
IXCLRData*signatures to useIXCLRDataAppDomain*/IXCLRDataAppDomain**instead ofvoid*/void**, and add a test validating the new API path.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/native/managed/cdac/tests/ClrDataTaskTests.cs | Adds coverage for GetCurrentAppDomain returning an AppDomain object. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/SOSDacImpl.IXCLRDataProcess.cs | Updates process interface method signatures to typed IXCLRDataAppDomain*/**. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/IXCLRData.cs | Introduces IXCLRDataAppDomain and updates related interface signatures, including GetCurrentAppDomain. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataTask.cs | Implements GetCurrentAppDomain using cDAC globals, with DEBUG parity assert vs legacy DAC. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataModule.cs | Updates module interface method signatures to typed IXCLRDataAppDomain*/**. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataFrame.cs | Adjusts GetAppDomain parameter annotation to clarify AppDomain type. |
| src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataAppDomain.cs | Adds ClrDataAppDomain COM class wrapper (currently legacy-forwarding). |
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataAppDomain.cs
Show resolved
Hide resolved
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataTask.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataAppDomain.cs
Show resolved
Hide resolved
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/IXCLRData.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataTask.cs
Show resolved
Hide resolved
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataAppDomain.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataTask.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
You can also share your feedback on Copilot code review. Take the survey.
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/ClrDataAppDomain.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
You can also share your feedback on Copilot code review. Take the survey.
Implement GetCurrentAppDomain for cDAC