# A bunch of fixes for the DWARF parser \(\#2254\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 3ce024dd857b4b139651258b5339e32ddad87ade

Requested commit: 3ce024dd857b4b139651258b5339e32ddad87ade

Commit: 3ce024dd857b4b139651258b5339e32ddad87ade

Tree: 687112ace822fa036ecc828515eeb927bade15d9

Author: Andrew Kelley

Committer: GitHub

## Message

```
A bunch of fixes for the DWARF parser (#2254)

* Correct parsing of DWARF line_info section

* Fix reading of udata/sdata encoded attributes

* Add definition for DW_AT_alignment

Even though it's been standardized in DWARF5 some compilers produce it
anyway for DWARF4 infos too.

* Fix reading of reference attributes

* Distinguish between absolute/relative addresses

```

## Parents

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

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

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