Struct wasmtime_jit::SymbolizeContext
source · [−]pub struct SymbolizeContext { /* private fields */ }
Expand description
A context which contains dwarf debug information to translate program counters back to filenames and line numbers.
Implementations
sourceimpl SymbolizeContext
impl SymbolizeContext
sourcepub fn addr2line(&self) -> &Context<EndianSlice<'_, LittleEndian>>
pub fn addr2line(&self) -> &Context<EndianSlice<'_, LittleEndian>>
Returns access to the addr2line::Context
which can be used to query
frame information with.
sourcepub fn code_section_offset(&self) -> u64
pub fn code_section_offset(&self) -> u64
Returns the offset of the code section in the original wasm file, used to calculate lookup values into the DWARF.
Auto Trait Implementations
impl !RefUnwindSafe for SymbolizeContext
impl Send for SymbolizeContext
impl !Sync for SymbolizeContext
impl Unpin for SymbolizeContext
impl UnwindSafe for SymbolizeContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more