# std: Fix backtraces on sparcv9 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/54db36cd88835ed6b9d9584d9568e9aa72e41480)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 54db36cd88835ed6b9d9584d9568e9aa72e41480

Requested commit: 54db36cd88835ed6b9d9584d9568e9aa72e41480

Commit: 54db36cd88835ed6b9d9584d9568e9aa72e41480

Tree: fa69c82ecc88148f9a2126db0bc8c0239a8d0caf

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Fix backtraces on sparcv9

Flush all the register windows to stack before starting the stack walk,
we may otherwise try to read garbage and crash and burn.

Add a few comptime annotations to debloat some functions.

```

## Parents

- [37b05742ff1544bccf7c8ae9b12c6707a5a54df2](https://git.cafe/gitcafe/zig/commit/37b05742ff1544bccf7c8ae9b12c6707a5a54df2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/54db36cd88835ed6b9d9584d9568e9aa72e41480?format=markdown)
