# std.debug.Dwarf.SelfUnwinder: skip caching rules for unsupported registers · gitcafe/zig

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

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

Visibility: public

Requested revision: c23a5ccd19f08d485820a1d5deea04a6e10fe7bb

Requested commit: c23a5ccd19f08d485820a1d5deea04a6e10fe7bb

Commit: c23a5ccd19f08d485820a1d5deea04a6e10fe7bb

Tree: a474edb89937dc46cb5639b3ed8619409f831369

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.debug.Dwarf.SelfUnwinder: skip caching rules for unsupported registers

For unwinding purposes, we don't care about unsupported registers. Yet because
we added these rules to the cache entry, we'd later try to evaluate them and
thus fail the unwind attempt for no good reason. They'd also take up cache rule
slots that would be better spent on actually relevant registers.

Note that any attempt to read unsupported registers during unwinding will still
fail the unwind attempt as expected.

```

## Parents

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

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