Skip to content

Commit 31220b5

Browse files
jacobly0kubkon
authored andcommitted
Dwarf: cleanup emitted debug info
* reduce iteration cost by not tracking unused entries * avoid emitting unused abbrevs to `.debug_abbrev` * get the compiler executable passing `llvm-dwarfdump --verify` * make it possible to skip `.debug_line` padding much more quickly
1 parent 7cd1c88 commit 31220b5

File tree

2 files changed

+335
-269
lines changed

2 files changed

+335
-269
lines changed

lib/std/dwarf.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pub const LNS = struct {
8989
};
9090

9191
pub const LNE = struct {
92+
pub const padding = 0x00;
9293
pub const end_sequence = 0x01;
9394
pub const set_address = 0x02;
9495
pub const define_file = 0x03;

0 commit comments

Comments
 (0)