# Fix fp-based backtracing on RISC-V · gitcafe/zig

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

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

Visibility: public

Requested revision: b1f3f59d660bbe163502daa6f0acd560782f49d8

Requested commit: b1f3f59d660bbe163502daa6f0acd560782f49d8

Commit: b1f3f59d660bbe163502daa6f0acd560782f49d8

Tree: 67148819b3445ecfc9dbaf3d87229bfcea8abe39

Author: LemonBoy

Committer: LemonBoy

## Message

```
Fix fp-based backtracing on RISC-V

The fp points to the top of the frame instead of pointing to the old fp,
compensate this difference with an offset.

```

## Parents

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

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