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
This commit is contained in:
Jacob Young 2024-08-21 20:59:41 -04:00 committed by Jakub Konka
parent 7cd1c882c9
commit 31220b50b5
2 changed files with 335 additions and 269 deletions

View File

@ -89,6 +89,7 @@ pub const LNS = struct {
}; };
pub const LNE = struct { pub const LNE = struct {
pub const padding = 0x00;
pub const end_sequence = 0x01; pub const end_sequence = 0x01;
pub const set_address = 0x02; pub const set_address = 0x02;
pub const define_file = 0x03; pub const define_file = 0x03;

File diff suppressed because it is too large Load Diff