Generate debug info for LLDB/GDB (#50)

* Transform DWARF sections into native format for wasm2obj and wasmtime.

Generate DWARF sections based on WASM DWARF.
Ignore some of debug_info/debug_line for dead code.

* Fix test
This commit is contained in:
Yury Delendik
2019-03-06 18:03:32 -06:00
committed by Dan Gohman
parent 6eb09d9edd
commit ddbc00752e
36 changed files with 2252 additions and 85 deletions

4
lib/debug/README.md Normal file
View File

@@ -0,0 +1,4 @@
This is the `wasmtime-debug` crate, which provides functionality to
read, transform, and write DWARF section.
[`wasmtime-debug`]: https://crates.io/crates/wasmtime-debug