Use gimli::UnwindContext

This commit is contained in:
Gary Guo 2021-10-07 02:56:21 +01:00
parent 8a4b906cb8
commit bbd66f493a

View File

@ -1,6 +1,5 @@
use gimli::{
BaseAddresses, CfaRule, Expression, RegisterRule, UninitializedUnwindContext, UnwindTableRow,
};
use alloc::boxed::Box;
use gimli::{BaseAddresses, CfaRule, Expression, RegisterRule, UnwindContext, UnwindTableRow};
#[cfg(feature = "dwarf-expr")]
use gimli::{EvaluationResult, Location, Value};
@ -34,7 +33,7 @@ impl Frame {
Some(v) => v,
None => return Ok(None),
};
let mut unwinder = UninitializedUnwindContext::new();
let mut unwinder = UnwindContext::new();
let row = fde_result
.fde
.unwind_info_for_address(