mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 21:38:33 +00:00
std.debug: FP-based unwinding is ideal on SPARC
The way SPARC works due to its ABI built around register windows means that we can always do fast FP-based unwinding.
This commit is contained in:
parent
dd7819220a
commit
e0f10da270
@ -886,6 +886,8 @@ const StackIterator = union(enum) {
|
||||
.powerpcle,
|
||||
.powerpc64,
|
||||
.powerpc64le,
|
||||
.sparc,
|
||||
.sparc64,
|
||||
=> .ideal,
|
||||
// https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Respect-the-purpose-of-specific-CPU-registers
|
||||
.aarch64 => if (builtin.target.os.tag.isDarwin()) .safe else .unsafe,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user