# std.debug: don't assume return address register is defined if not specified · gitcafe/zig

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

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

Visibility: public

Requested revision: c41bf996848a32c60e6f1dac89769d33a1b83178

Requested commit: c41bf996848a32c60e6f1dac89769d33a1b83178

Commit: c41bf996848a32c60e6f1dac89769d33a1b83178

Tree: 6b33e8437265aa23157c147f9351086abc91ad11

Author: mlugg

Committer: mlugg

## Message

```
std.debug: don't assume return address register is defined if not specified

This logic was causing some occasional infinite looping on ARM, where
the `.debug_frame` section is often incomplete since the `.exidx`
section is used for unwind information. But the information we're
getting from the compiler is totally *valid*: it's leaving the rule as
the default, which is (as with most architectures) equivalent to
`.undefined`!

```

## Parents

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

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