Skip to content

[browser][coreclr] Integrate R2R debug info flags into WebAssembly SDK #135754

Open

Description

@maraf
  • Debug
    • --wasm-debug-info=all (name,symbol-map)
  • Release
    • --strip-inlining-info
    • --strip-debug-info
    • --wasm-debug-info=none

We should investigate if strip-inlining-info and strip-debug-info are still needed with wasm-debug-info=none.
Based on dotnet/sdk#56411 (comment) I would prefer to set all of them in the WebAssembly SDK.

Related

Activity

  1. added this to the 12.0.0 milestone on Oct 14, 2026
  2. added
    arch-wasm
    os-browser
    on Oct 14, 2026
  3. self-assigned this
    on Oct 14, 2026
  4. dotnet-policy-service commented on Oct 14, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  5. kotlarmilos commented on Oct 16, 2026

    @kotlarmilos
    Member

    For --wasm-debug-info=none on the Havit app, composite goes from 10.33 MB to 9.64 MB of cold download and from about 5.2 s to 4.7 s of mobile startup. Per-assembly goes from 9.67 MB to 9.24 MB and from about 4.5 s to 4.3 s.

    I also tried --strip-il-bodies. On the Havit app, composite with --wasm-debug-info=none and --strip-il-bodies goes from 9.64 MB to 8.95 MB of cold download, and mobile startup from about 4.7 s to 4.45 s.

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

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Build-monoos-browser

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions