WebAssembly / WebAssembly/binaryen

Generate webassemby binary with DWARF information

Open
#7,503 4 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

hi, Binaryen,

I am writting a new compiler for a new language, my attention is use binaryen to generate the backend code and use open source Webassembly runtime to run it.

I want to support function of "debugging the source code", this runtime only support debug via lldb with DWARF.

I didn't see any document introduce how to do it. does anyone know how to do it?

Thank you.

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

Start by reviewing Binaryen's documentation and existing WebAssembly output guidance for DWARF information, then check how the generated data is consumed by the stated LLDB-supported runtime. Done should be a documented, reproducible procedure for generating a WebAssembly binary with DWARF source-debugging information.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.