mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
debug: disable fp-based frame unwinding when fp is omitted
This has been causing non-deterministic timeouts on aarch64 CI.
This commit is contained in:
parent
e28b4027ee
commit
4f3b59f708
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user