# codegen: lower field_ptr to memory across linking backends · gitcafe/zig

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

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

Visibility: public

Requested revision: e8eb9778cccd2f2d23027d9e0d73d7053bf92efe

Requested commit: e8eb9778cccd2f2d23027d9e0d73d7053bf92efe

Commit: e8eb9778cccd2f2d23027d9e0d73d7053bf92efe

Tree: a658c7381f29593222e059ad541d006afd9e310c

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
codegen: lower field_ptr to memory across linking backends

This requires generating an addend for the target relocation as
the field pointer might point at a field inner to the container.

```

## Parents

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

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