# macho: do not GC local symbols unless reference dead symbols · gitcafe/zig

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

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

Visibility: public

Requested revision: 39df241df4ac177503d899dd8b53a632e4e29334

Requested commit: 39df241df4ac177503d899dd8b53a632e4e29334

Commit: 39df241df4ac177503d899dd8b53a632e4e29334

Tree: 853d25436b0afb913b5165aeb467e1b4817d2eff

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: do not GC local symbols unless reference dead symbols

If a local references another local, we keep it. If it doesn't
reference anything, we keep it. Otherwise, we dead strip it.

```

## Parents

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

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