From 88821bc33049b168976d9ca98c78f2cf2d38e174 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Wed, 28 May 2025 02:26:38 -0400 Subject: [PATCH] debug: disable fp-based frame unwinding when fp is omitted This has been causing non-deterministic timeouts on aarch64 CI. --- lib/std/debug.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 7b55a05db59c..527676566c69 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -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