Commit 4f3b59f708

Jacob Young <jacobly0@users.noreply.github.com>
2025-05-28 08:26:38
debug: disable fp-based frame unwinding when fp is omitted
This has been causing non-deterministic timeouts on aarch64 CI.
1 parent e28b402
Changed files (1)
lib
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