# macho,x64: resolve debug info relocs for RIP-based addressing · gitcafe/zig

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

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

Visibility: public

Requested revision: edb428fae42ea82c49347fce6d48d80f1fed6ef1

Requested commit: edb428fae42ea82c49347fce6d48d80f1fed6ef1

Commit: edb428fae42ea82c49347fce6d48d80f1fed6ef1

Tree: 2a09c14b9138d511148160265a2a1dbaff47252e

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho,x64: resolve debug info relocs for RIP-based addressing

Sometimes we will want to generate debug info for a constant that
has been lowered to memory and not copied anywhere else. For this
we will need to defer resolution on PIE platforms until all locals
(including GOT entries) have been allocated.

```

## Parents

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

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