Skip to content

Enable cDAC data descriptor to be built into WASM.#120305

Merged
AaronRobinsonMSFT merged 1 commit intodotnet:mainfrom
AaronRobinsonMSFT:wasm_data_descriptor
Oct 1, 2025
Merged

Enable cDAC data descriptor to be built into WASM.#120305
AaronRobinsonMSFT merged 1 commit intodotnet:mainfrom
AaronRobinsonMSFT:wasm_data_descriptor

Conversation

@AaronRobinsonMSFT
Copy link
Member

No description provided.

@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 11.0.0 milestone Oct 1, 2025
@AaronRobinsonMSFT AaronRobinsonMSFT self-assigned this Oct 1, 2025
@AaronRobinsonMSFT AaronRobinsonMSFT added arch-wasm WebAssembly architecture area-VM-coreclr labels Oct 1, 2025
Copilot AI review requested due to automatic review settings October 1, 2025 20:03
Copy link
Contributor

Copilot AI left a 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 PR enables the Contract-based Debugging and Analysis (cDAC) data descriptor to be built for WebAssembly (WASM) targets. The main purpose is to extend cDAC support to WASM platforms by conditionally excluding precode-related types that are not available on WASM and adding WASM architecture identification.

Key changes:

  • Conditionally compile precode-related CDAC types based on FEATURE_PORTABLE_ENTRYPOINTS
  • Add WASM architecture string to the global architecture definitions
  • Adjust CMake configuration to include cDAC descriptor libraries for WASM builds

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/coreclr/vm/datadescriptor/datadescriptor.inc Wraps precode-related CDAC type definitions with FEATURE_PORTABLE_ENTRYPOINTS guards and adds WASM architecture string
src/coreclr/dlls/mscoree/coreclr/CMakeLists.txt Moves cDAC descriptor library definitions outside the non-WASM conditional block

@AaronRobinsonMSFT
Copy link
Member Author

/cc @dotnet/dotnet-diag

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 1390e22 into dotnet:main Oct 1, 2025
101 checks passed
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the wasm_data_descriptor branch October 1, 2025 22:51
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-VM-coreclr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants