Skip to content

Commit

Permalink
Add note on embedded DWARF sections
Browse files Browse the repository at this point in the history
See #148.
  • Loading branch information
RReverser authored Nov 12, 2020
1 parent 6f7b81c commit faf8131
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ It is a goal to support DWARF in WebAssembly, see
[the proposed additions to DWARF](https://yurydelendik.github.io/webassembly-dwarf/)
for how that is planned to work.

## Embedded DWARF

The proposal allows [embedding the DWARF sections](https://yurydelendik.github.io/webassembly-dwarf/#embedding-DWARF)
as WebAssembly custom sections with the same name (`.debug_*`) and raw data as in the DWARF spec.

## External DWARF

That proposal allows keeping the DWARF information
The proposal also allows keeping the DWARF information
[external to the Wasm](https://yurydelendik.github.io/webassembly-dwarf/#external-DWARF).
When doing so, the main Wasm file does not need to contain any debug info, and
instead has a custom section with the name `external_debug_info`. That section
Expand Down

0 comments on commit faf8131

Please sign in to comment.