# aarch64: emit DWARF debug info for fn params and locals · gitcafe/zig

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

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

Visibility: public

Requested revision: 02852098eebda52ce6373d0440cec4965e6d4478

Requested commit: 02852098eebda52ce6373d0440cec4965e6d4478

Commit: 02852098eebda52ce6373d0440cec4965e6d4478

Tree: e1e14e4715ba27d3fc7f416721b60325b4094e3f

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
aarch64: emit DWARF debug info for fn params and locals

We postpone emitting debug info until *after* we generate the function
so that we have an idea of the consumed stack space. The stack offsets
encoded within DWARF are with respect to the frame pointer `.fp`.

```

## Parents

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

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