WebAssembly / WebAssembly/binaryen

Add support for module names in wasm binaries

Open
#1,010 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Basically implement https://github.com/WebAssembly/design/pull/1055. We want binary parser and output support for it, and also asm2wasm/s2wasm support, which IMO should be independent of other debug info so that we can just use it all the time in emscripten (i.e. modules always have module names even if they have no function or local names). The cost of that will be very low, and it will be very useful for debugging and stack traces, especially along with https://github.com/WebAssembly/design/pull/1053

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read WebAssembly/design pull request 1055 first to understand the module-name binary format. Then trace the binary parser and output support plus the asm2wasm and s2wasm entry points; done means module names work independently of other debug information and are available for emscripten use.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.