Skip to content

Commit

Permalink
fixup! Parse short backtraces out of debuginfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Jan 21, 2025
1 parent bc709ca commit 2124479
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/symbolize/miri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use core::marker::PhantomData;

use super::super::backtrace::miri::{resolve_addr, Frame};
use super::BytesOrWideString;
use super::{ResolveWhat, SymbolName};
use super::{ResolveWhat, ShortBacktrace, SymbolName};

pub unsafe fn resolve(what: ResolveWhat<'_>, cb: &mut dyn FnMut(&super::Symbol)) {
let sym = match what {
Expand Down Expand Up @@ -51,6 +51,10 @@ impl<'a> Symbol<'a> {
core::str::from_utf8(&self.inner.inner.filename).unwrap(),
))
}

pub fn short_backtrace(&self) -> Option<ShortBacktrace> {
None
}
}

pub unsafe fn clear_symbol_cache() {}

0 comments on commit 2124479

Please sign in to comment.