# Dwarf: Added stroffsetsptr support \(\#12270\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 96737ef499e66d8ab3e32fd4641599b1843f5b8c

Requested commit: 96737ef499e66d8ab3e32fd4641599b1843f5b8c

Commit: 96737ef499e66d8ab3e32fd4641599b1843f5b8c

Tree: 6a99c4c92be980e877dc87484b2866c0d5fba799

Author: Keith Chambers

Committer: GitHub

## Message

```
Dwarf: Added stroffsetsptr support (#12270)

* Added support for stroffsetsptr class in Dwarf stdlib

* Proper initializion of debug_str_offsets in DwarfInfo

* Added missing null initializer to DwarfInfo in Macho

* Added missing is_64 field to getAttrString in DwarfInfo

* Fixed formatting

* Added missing is_64 param to getAttrString

* Added required cast to usize

* Adding missing .debug_str_offsets initialization

* getAttrString now uses the str_offsets_base attr
```

## Parents

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

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