Increase unwind table stack size

GDB binary seems to need 2
This commit is contained in:
Gary Guo 2022-09-12 21:44:40 +01:00
parent 9217c76d3d
commit c72e9cb824

View File

@ -27,7 +27,7 @@ const fn next_value(x: usize) -> usize {
impl<R: gimli::Reader> gimli::UnwindContextStorage<R> for StoreOnStack {
type Rules = [(Register, RegisterRule<R>); next_value(MAX_REG_RULES)];
type Stack = [UnwindTableRow<R, Self>; 1];
type Stack = [UnwindTableRow<R, Self>; 2];
}
#[cfg(feature = "dwarf-expr")]