Skip to content

Commit 4f3b59f

Browse files
committed
debug: disable fp-based frame unwinding when fp is omitted
This has been causing non-deterministic timeouts on aarch64 CI.
1 parent e28b402 commit 4f3b59f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/std/debug.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,8 @@ pub const StackIterator = struct {
932932
}
933933
}
934934

935+
if (builtin.omit_frame_pointer) return null;
936+
935937
const fp = if (comptime native_arch.isSPARC())
936938
// On SPARC the offset is positive. (!)
937939
math.add(usize, it.fp, fp_offset) catch return null

0 commit comments

Comments
 (0)