authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2025-05-28 02:26:38-04:00
committergravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2025-05-28 15:08:39-04:00
log4f3b59f708058ce4e4b6a1cacd2a3dae6e1c7aae
tree306d70572d738f6f6082eb33d1e4d97062863d32
parente28b4027ee273ab72c4eb572adc5abc257230284

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

This has been causing non-deterministic timeouts on aarch64 CI.

1 files changed, 2 insertions(+), 0 deletions(-)

lib/std/debug.zig+2
...@@ -932,6 +932,8 @@ pub const StackIterator = struct {...@@ -932,6 +932,8 @@ pub const StackIterator = struct {
932 }932 }
933 }933 }
934934
935 if (builtin.omit_frame_pointer) return null;
936
935 const fp = if (comptime native_arch.isSPARC())937 const fp = if (comptime native_arch.isSPARC())
936 // On SPARC the offset is positive. (!)938 // On SPARC the offset is positive. (!)
937 math.add(usize, it.fp, fp_offset) catch return null939 math.add(usize, it.fp, fp_offset) catch return null