mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +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
1 changed files with 2 additions and 0 deletions
|
|
@ -932,6 +932,8 @@ pub const StackIterator = struct {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (builtin.omit_frame_pointer) return null;
|
||||||
|
|
||||||
const fp = if (comptime native_arch.isSPARC())
|
const fp = if (comptime native_arch.isSPARC())
|
||||||
// On SPARC the offset is positive. (!)
|
// On SPARC the offset is positive. (!)
|
||||||
math.add(usize, it.fp, fp_offset) catch return null
|
math.add(usize, it.fp, fp_offset) catch return null
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue