Skip to content

Support loading cDAC from SOS installations#5874

Draft
hoyosjs wants to merge 3 commits into
dotnet:mainfrom
hoyosjs:juhoyosa/bundle-cdac
Draft

Support loading cDAC from SOS installations#5874
hoyosjs wants to merge 3 commits into
dotnet:mainfrom
hoyosjs:juhoyosa/bundle-cdac

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Jun 11, 2026

Copy link
Copy Markdown
Member

Bundle the cDAC into diagnostics tool packages and implement interim loading policy for DAC/cDAC:

  • .NET 11+ defaults to cDAC unless DOTNET_ENABLE_CDAC is set to allow for runtime-diagnostics pipeline to still do dac/cdac diffing.
  • Bundle the cDAC into diagnostics tool packages and implement interim loading policy for DAC/cDAC as specified above/
  • Runtimes command now has a tri-state UseCDac (null= default policy described above, true=force, false=never) with --usecdac true|false|policy**
  • DataTarget implements ICLRContractLocator and stores resolved contract descriptor address for cDAC initialization
  • sos-packaging.props cleanup to allow any arch packaging; PackageWithCDac=true by default on main branch so all platforms (win-x64/x86/arm64, linux-*, osx-*) bundle cDAC alongside sos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant