|
@@ -25,9 +25,9 @@ const fn next_value(x: usize) -> usize {
|
|
|
192
|
|
|
}
|
|
|
|
|
|
-impl<R: gimli::Reader> gimli::UnwindContextStorage<R> for StoreOnStack {
|
|
|
- type Rules = [(Register, RegisterRule<R>); next_value(MAX_REG_RULES)];
|
|
|
- type Stack = [UnwindTableRow<R, Self>; 2];
|
|
|
+impl<O: gimli::ReaderOffset> gimli::UnwindContextStorage<O> for StoreOnStack {
|
|
|
+ type Rules = [(Register, RegisterRule<O>); next_value(MAX_REG_RULES)];
|
|
|
+ type Stack = [UnwindTableRow<O, Self>; 2];
|
|
|
}
|
|
|
|
|
|
#[cfg(feature = "dwarf-expr")]
|
|
@@ -40,7 +40,7 @@ impl<R: gimli::Reader> gimli::EvaluationStorage<R> for StoreOnStack {
|
|
|
#[derive(Debug)]
|
|
|
pub struct Frame {
|
|
|
fde_result: FDESearchResult,
|
|
|
- row: UnwindTableRow<StaticSlice, StoreOnStack>,
|
|
|
+ row: UnwindTableRow<usize, StoreOnStack>,
|
|
|
}
|
|
|
|
|
|
impl Frame {
|