fn unwindFrame(di: *const DwarfInfo, context: *UnwindContext, explicit_fde_offset: ?usize) !usize

Unwind a stack frame using DWARF unwinding info, updating the register context.

If .eh_frame_hdr is available, it will be used to binary search for the FDE. Otherwise, a linear scan of .eh_frame and .debug_frame is done to find the FDE.

explicit_fde_offset is for cases where the FDE offset is known, such as when __unwind_info defers unwinding to DWARF. This is an offset into the .eh_frame section.

Parameters

di: *const DwarfInfo,
context: *UnwindContext,
explicit_fde_offset: ?usize,