zig/lib/std/debug
Andrew Kelley 022bca9b06 std.debug.Dwarf: better source location information
Two fixes here:

Sort by addresses after generating the line table. Debug information in
the wild is not sorted and the rest of the implementation requires this
data to be sorted.

Handle DW.LNE.end_sequence correctly. When I originally wrote this code,
I misunderstood what this opcode was supposed to do. Now I understand
that it marks the *end* of an address range, meaning the current address
does *not* map to the current line information.

This fixes source location information for a big chunk of ReleaseSafe
code.
2024-08-13 18:04:23 -07:00
..
Dwarf reintroduce std.Dwarf.abi.supportsUnwinding 2024-08-02 14:15:03 -07:00
Coverage.zig avoid a branch in resolveAddressesDwarf 2024-08-13 15:02:53 -07:00
Dwarf.zig std.debug.Dwarf: better source location information 2024-08-13 18:04:23 -07:00
FixedBufferReader.zig std.debug.Dwarf: precompute .debug_line table 2024-08-07 00:48:32 -07:00
Info.zig std.debug.Coverage.resolveAddressesDwarf: fix broken logic 2024-08-13 15:02:53 -07:00
MemoryAccessor.zig std.debug: reorg and clarify API goals 2024-08-01 23:11:59 -07:00
Pdb.zig std.debug: rename Info to SelfInfo 2024-08-01 22:11:35 -07:00
SelfInfo.zig std.debug.Coverage.resolveAddressesDwarf: fix broken logic 2024-08-13 15:02:53 -07:00