d2r2: fix scope voff miscount; pattern match trivial value-register locations -> simple kind; fix pre-dwarf5 file table parsing

This commit is contained in:
Ryan Fleury
2026-04-30 18:09:30 -07:00
parent 0e2b37ba32
commit 0054935252
2 changed files with 25 additions and 2 deletions
+6
View File
@@ -722,6 +722,12 @@ dw2_read_line_table_header(Arena *arena, DW2_ParseCtx *ctx, String8 data, U64 of
// rjf: gather additional files
for(;off < off_opl;)
{
U8 next_byte = 0;
str8_deserial_read_struct(data, off, &next_byte);
if(next_byte == 0)
{
break;
}
String8 file_name = {0};
U64 dir_idx = 0;
U64 modify_time = 0;