You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was writing a .wasm parser today, and I noticed that the "Hello, World" .wasm file I got from https://webassembly.studio/ includes debug info sections. Here's a list of all sections I found in the file:
I found this repo and the doc that describes wasm debugging capabilities. But it doesn't say anything about what is currently implemented. The .debug_* sections above seem to be named like DWARF, but are they actually DWARF? What semantics are implemented?
The text was updated successfully, but these errors were encountered:
Yes, they are DWARF. Their inclusion is due to a pretty recent change in LLVM trunk. I don't know the exact semantics and there is no standard for how DWARF applies to wasm yet. The wasm WG is setting up a sub-charter for debugging, and I expect that group to provide some guidance once it is up and running.
I was writing a .wasm parser today, and I noticed that the "Hello, World" .wasm file I got from https://webassembly.studio/ includes debug info sections. Here's a list of all sections I found in the file:
I found this repo and the doc that describes wasm debugging capabilities. But it doesn't say anything about what is currently implemented. The
.debug_*
sections above seem to be named like DWARF, but are they actually DWARF? What semantics are implemented?The text was updated successfully, but these errors were encountered: