diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-21 00:06:52 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-21 00:06:52 +0200 |
| commit | 26153ce73a1b9c49bdf89055b8ab7f4d3173f153 (patch) | |
| tree | cae4284d09b99171caf060e1c0504ee53e4ec890 /src/Cache.zig | |
| parent | 1a1b5ee264d8b2219c34d53cc9602692e6d2ba24 (diff) | |
| download | zig-26153ce73a1b9c49bdf89055b8ab7f4d3173f153.tar.gz zig-26153ce73a1b9c49bdf89055b8ab7f4d3173f153.zip | |
dwarf: clean up allocations in std.dwarf module
While this code probably could do with some love and a redesign,
this commit fixes the allocations by making sure we explicitly
pass an allocator where required, and we use arenas for temporary
or narrowly-scoped objects such as a `Die` (for `Die` in particular,
not every `FormValue` will be allocated - we could duplicate, or
we can use an arena which is the proposal of this commit).
Diffstat (limited to 'src/Cache.zig')
0 files changed, 0 insertions, 0 deletions
