Stack frames now properly point inside the caller function.
@@ -273,7 +273,8 @@ impl<const N: usize> Backtrace<N> {
// Adjust the IP to point within the function symbol. This should
// only be done if the frame is not a signal frame.
- if uw::unw_is_signal_frame(cursor) > 0 {
+ let is_signal_frame = uw::unw_is_signal_frame(cursor) > 0;
+ if !is_signal_frame {
ip -= 1;
}