wasmtime_cranelift/
debug.rs

1//! Debug utils for WebAssembly using Cranelift.
2
3#![allow(clippy::cast_ptr_alignment)]
4
5/// Memory definition offset in the VMContext structure.
6#[derive(Debug, Clone)]
7pub enum ModuleMemoryOffset {
8    /// Not available.
9    None,
10    /// Offset to the defined memory.
11    Defined(u32),
12    /// Offset to the imported memory.
13    Imported(u32),
14}
15
16pub use write_debuginfo::{emit_dwarf, DwarfSection, DwarfSectionRelocTarget};
17
18mod gc;
19mod transform;
20mod write_debuginfo;