debug: disable fp-based frame unwinding when fp is omitted

This has been causing non-deterministic timeouts on aarch64 CI.
This commit is contained in:
Jacob Young 2025-05-28 02:26:38 -04:00 committed by Jacob Young
parent e28b4027ee
commit 4f3b59f708

View file

@ -932,6 +932,8 @@ pub const StackIterator = struct {
}
}
if (builtin.omit_frame_pointer) return null;
const fp = if (comptime native_arch.isSPARC())
// On SPARC the offset is positive. (!)
math.add(usize, it.fp, fp_offset) catch return null