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

View File

@@ -223,6 +223,7 @@ pub fn instantiate_spectest() -> Result<InstanceHandle, InstantiationError> {
imports,
&data_initializers,
signatures.into_boxed_slice(),
None,
Box::new(()),
)
}