diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-05-28 02:26:38 -0400 |
|---|---|---|
| committer | Jacob Young <15544577+jacobly0@users.noreply.github.com> | 2025-05-28 15:08:39 -0400 |
| commit | 4f3b59f708058ce4e4b6a1cacd2a3dae6e1c7aae (patch) | |
| tree | 306d70572d738f6f6082eb33d1e4d97062863d32 /lib/std/debug.zig | |
| parent | e28b4027ee273ab72c4eb572adc5abc257230284 (diff) | |
| download | zig-4f3b59f708058ce4e4b6a1cacd2a3dae6e1c7aae.tar.gz zig-4f3b59f708058ce4e4b6a1cacd2a3dae6e1c7aae.zip | |
debug: disable fp-based frame unwinding when fp is omitted
This has been causing non-deterministic timeouts on aarch64 CI.
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 7b55a05db5..527676566c 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 |
