rdi_make, rdi_from_pdb: complete next pass over new serialization/compression interface, including for new top-level-only name map data sections; eliminate determinism issues from string map build (task dispatch was busted)

This commit is contained in:
Ryan Fleury
2024-06-13 15:18:28 -07:00
parent b05cfa4b24
commit 2ff0abb91e
9 changed files with 483 additions and 313 deletions
+3 -2
View File
@@ -74,9 +74,9 @@ entry_point(CmdLine *cmd_line)
// rjf: extract input file path
input_name = str8_list_first(&cmd_line->inputs);
// rjf: extract dump options
// rjf: extract "only" options
{
String8List dump_options = cmd_line_strings(cmd_line, str8_lit("dump"));
String8List dump_options = cmd_line_strings(cmd_line, str8_lit("only"));
if(dump_options.first != 0)
{
dump_flags = 0;
@@ -101,6 +101,7 @@ entry_point(CmdLine *cmd_line)
else if(str8_match(n->string, str8_lit("scopes"), StringMatchFlag_CaseInsensitive)) { dump_flags |= DumpFlag_Scopes; }
else if(str8_match(n->string, str8_lit("scope_vmap"), StringMatchFlag_CaseInsensitive)) { dump_flags |= DumpFlag_ScopeVMap; }
else if(str8_match(n->string, str8_lit("name_maps"), StringMatchFlag_CaseInsensitive)) { dump_flags |= DumpFlag_NameMaps; }
else if(str8_match(n->string, str8_lit("strings"), StringMatchFlag_CaseInsensitive)) { dump_flags |= DumpFlag_Strings; }
}
}
}