Crate wasm_debug

Source
Expand description

Wasm DWARF transformation utilites.

To use this, see functions like emit_debugsections_image and the types module.

Many of the types exposed are equivilent to those in the cranelift-codegen crate, but maintaining exact compatibilty with cranelift-codegen is not a goal of this crate.

Types may change in future releases if changes are needed to make this crate more generic.

If you’re interested in integrating your runtime with debuggers and this crate doesn’t meet your needs, please file an issue and we can discuss how to adapt this crate to behave as needed.

More documentation to come in future releases.

Modules§

types
Data structures and functions used to get metadata into a format this crate can understand.

Structs§

DebugInfoData
WasmFileInfo

Enums§

ResolvedSymbol

Traits§

SymbolResolver

Functions§

emit_debugsections
emit_debugsections_image
Top level function to get the debug information to give to a debugger.
emit_dwarf
read_debuginfo
transform_dwarf