# std.debug: reorg and clarify API goals · gitcafe/zig

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

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

Visibility: public

Requested revision: 48d584e3a33a76ef4ea643905a11d311e9ed8bbf

Requested commit: 48d584e3a33a76ef4ea643905a11d311e9ed8bbf

Commit: 48d584e3a33a76ef4ea643905a11d311e9ed8bbf

Tree: c6dbeb4913b297c28fcd57add186d444279862d2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.debug: reorg and clarify API goals

After this commit:

`std.debug.SelfInfo` is a cross-platform abstraction for the current
executable's own debug information, with a goal of minimal code bloat
and compilation speed penalty.

`std.debug.Dwarf` does not assume the current executable is itself the
thing being debugged, however, it does assume the debug info has the
same CPU architecture and OS as the current executable. It is planned to
remove this limitation.

```

## Parents

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

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