d2r2: fix line table build - correct program data size, correct special opcode application

This commit is contained in:
Ryan Fleury
2026-05-03 17:55:53 -07:00
parent f2d80da2de
commit 7157e813a0
5 changed files with 13 additions and 10 deletions
+2
View File
@@ -180,6 +180,8 @@ struct DW2_LineTableHeader
U8 *opcode_lengths;
DW2_LineTableFileArray dirs;
DW2_LineTableFileArray files;
U64 line_program_off;
U64 total_unit_data_size; // NOTE(rjf): would be implied by `unit_length`, but DWARF makes that the size *past* the variable-width unit-length field itself
};
typedef struct DW2_LineVMRegs DW2_LineVMRegs;