Skip to content

Build IDs to match DWARF debug files #1306

Closed

Description

@mitsuhiko

Now that DWARF debug information are becoming a thing I was looking into what is necessary to provide breakpad style deferred symbolication. The initial blocker that came up was that there is no good way to match up the main wasm file and the companion wasm file containing debug info.

The way this works best normally is with GUIDs that identify the pairing. In mach we have UUIDs, in ELF the GNU build ID and on Windows the PDB signature and age.

Ideally we would have a UUID stored in WASM files as well. This would permit services like Sentry or Symbolicator be able to fetch debug information files from external sources by knowledge of the UUID alone.

Activity

  1. paolosevMSFT commented on Nov 14, 2019

    @paolosevMSFT

    I agree that it would be very useful to have a standard mechanism to uniquely identify WASM modules with a UUID and match them with symbol files. Could we add a new custom section "uuid"?

  2. mitsuhiko commented on Nov 14, 2019

    @mitsuhiko
    Author

    I'm closing this issue here for the one I opened in the tool conventions repo.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions