Skip to content

[cdac] Deploy cdac with SOS in .NET 10 #108720

Open
@lambdageek

Description

@lambdageek

Part of #99298

We would like to ship the cdac together with SOS and to allow SOS to load and use the cdac instead of the brittle DAC in .NET 10. This issue tracks the runtime changes necessary, and summarizes the SOS changes.

Summary SOS changes:

  • Add a command to select cdac vs brittle DAC
  • Pull the apropriate platform-specific mscorcdac.dll from the transport nuget feed and consume it in the SOS build and publish mscorcdac.dll together with SOS
  • Implement the ICLRRuntimeSymbol::TryGetSymbol API on the ICLRDataTarget passed to CLRDataCreateInstance
  • Load and instantiate cdac instead of the brittle DAC, if enabled
  • Work with WinDbg to change how SOS is inserted and consumed

A related issue #108553 is tracking the work to implement in cdac the DAC APIs needed by SOS and CLRMA

Metadata

Metadata

Assignees

Labels

area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additionstrackingThis issue is tracking the completion of other related issues.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions