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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user