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.
1 files changed, 2 insertions(+), 0 deletions(-)
lib
std
lib/std/debug.zig+2
| ... | ... | @@ -886,6 +886,8 @@ const StackIterator = union(enum) { |
| 886 | 886 | .powerpcle, |
| 887 | 887 | .powerpc64, |
| 888 | 888 | .powerpc64le, |
| 889 | .sparc, |
| 890 | .sparc64, |
| 889 | 891 | => .ideal, |
| 890 | 892 | // https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Respect-the-purpose-of-specific-CPU-registers |
| 891 | 893 | .aarch64 => if (builtin.target.os.tag.isDarwin()) .safe else .unsafe, |