blob: cae53df14251bc2aad866cec8baa04045600fa7a [file] [log] [blame] [edit]
//! Empty implementation of unwinding used when no other implementation is
//! appropriate.
use core::ffi::c_void;
use core::ptr::null_mut;
#[inline(always)]
pub fn trace(_cb: &mut dyn FnMut(&super::Frame) -> bool) {}
#[derive(Clone)]
pub struct Frame;
impl Frame {
pub fn ip(&self) -> *mut c_void {
null_mut()
}
pub fn sp(&self) -> *mut c_void {
null_mut()
}
pub fn symbol_address(&self) -> *mut c_void {
null_mut()
}
pub fn module_base_address(&self) -> Option<*mut c_void> {
None
}
}