# std.dwarf: implement basic DWARF 5 parsing · gitcafe/zig

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

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

Visibility: public

Requested revision: 6de8b4bc3d105c15cd473c5bf100db4c9328dd54

Requested commit: 6de8b4bc3d105c15cd473c5bf100db4c9328dd54

Commit: 6de8b4bc3d105c15cd473c5bf100db4c9328dd54

Tree: 6f15f1b038b04aaf50ed03d7663c7e54d255a9b4

Author: William Sengir

Committer: Andrew Kelley

## Message

```
std.dwarf: implement basic DWARF 5 parsing

DWARF 5 moves around some fields and adds a few new ones that can't be
parsed or ignored by our current DWARF 4 parser. This isn't a complete
implementation of DWARF 5, but this is enough to make stack traces
mostly work. Line numbers from C++ don't show up, but I know the info
is there. I think the answer is to iterate through .debug_line_str in
getLineNumberInfo, but I didn't want to fall into an even deeper rabbit
hole tonight.

```

## Parents

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

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