# macos: rewrite logic for generating stack traces on macOS · gitcafe/zig

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

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

Visibility: public

Requested revision: a56749b654bbe432752a57e130c7cf9dda370a15

Requested commit: a56749b654bbe432752a57e130c7cf9dda370a15

Commit: a56749b654bbe432752a57e130c7cf9dda370a15

Tree: c7db2ed86bfcf8c16c7e43f35329d5ec82f5213c

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macos: rewrite logic for generating stack traces on macOS

In order to be linker-independent, when parsing debug info in each
linked OSO, we also create a quick lookup table for symbols defined
within the OSO. We then use this lookup to map symbol from the EXE
to its defined address within the original OSO which we can then
use to extract its associated DWARF info (if any).

```

## Parents

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

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