more non-determinism & bug fixes in name map & idx run map building

This commit is contained in:
Ryan Fleury
2025-09-05 15:19:29 -07:00
parent 4c3bb98c64
commit 8b83e5ef48
5 changed files with 61 additions and 82 deletions
+3 -2
View File
@@ -1201,9 +1201,10 @@ rdi_dump_list_from_parsed(Arena *arena, RDI_Parsed *rdi, RDI_DumpSubsetFlags fla
for(U32 idx_i = 0; idx_i < idx_count; idx_i += 1)
{
U32 idx = idx_array[idx_i];
str8_list_pushf(temp.arena, &idx_strings, "%u");
str8_list_pushf(temp.arena, &idx_strings, "%u", idx);
}
indices = str8_list_join(scratch.arena, &idx_strings, &(StringJoin){.sep = str8_lit(", ")});
String8 extra = push_str8f(temp.arena, " // idx_run[%u]", node_ptr->match_idx_or_idx_run_first);
indices = str8_list_join(scratch.arena, &idx_strings, &(StringJoin){.sep = str8_lit(", "), .post = extra});
}
dumpf(" \"%S\": %S\n", str, indices);
temp_end(temp);