remove 'Symbols' from section titles, now that old sections are gone

This commit is contained in:
Ryan Fleury
2026-04-20 09:57:33 -07:00
parent 881e19c842
commit 7a59548d5b
14 changed files with 83 additions and 83 deletions
+5 -5
View File
@@ -186,12 +186,12 @@ RDI_SectionTable:
{InlineSites inline_sites RDI_InlineSite 0x001A U32 ""}
//- rjf: symbols
{GlobalVariableSymbols global_variable_symbols RDI_Symbol 0x001B U32 ""}
{GlobalVariables global_variables RDI_Symbol 0x001B U32 ""}
{GlobalVMap global_vmap RDI_VMapEntry 0x001C - ""}
{ThreadVariableSymbols thread_variable_symbols RDI_Symbol 0x001D U32 ""}
{ConstantSymbols constant_symbols RDI_Symbol 0x001E U32 ""}
{ProcedureSymbols procedure_symbols RDI_Symbol 0x001F U32 ""}
{LocalVariableSymbols local_variable_symbols RDI_Symbol 0x0020 U32 ""}
{ThreadVariables thread_variables RDI_Symbol 0x001D U32 ""}
{Constants constants RDI_Symbol 0x001E U32 ""}
{Procedures procedures RDI_Symbol 0x001F U32 ""}
{LocalVariables local_variables RDI_Symbol 0x0020 U32 ""}
//- rjf: locations
{LocationsBytecodeData locations_bytecode_data RDI_U8 0x0021 U32 ""}
+7 -7
View File
@@ -896,11 +896,11 @@ lane_sync(); if(flags & (1ull<<(kind))) ProfScope(rdi_name_title_from_dump_subse
}
symbol_tables[] =
{
{RDI_DumpSubset_Procedures, RDI_SectionKind_ProcedureSymbols},
{RDI_DumpSubset_GlobalVariables, RDI_SectionKind_GlobalVariableSymbols},
{RDI_DumpSubset_ThreadVariables, RDI_SectionKind_ThreadVariableSymbols},
{RDI_DumpSubset_LocalVariables, RDI_SectionKind_LocalVariableSymbols},
{RDI_DumpSubset_Constants, RDI_SectionKind_ConstantSymbols},
{RDI_DumpSubset_Procedures, RDI_SectionKind_Procedures},
{RDI_DumpSubset_GlobalVariables, RDI_SectionKind_GlobalVariables},
{RDI_DumpSubset_ThreadVariables, RDI_SectionKind_ThreadVariables},
{RDI_DumpSubset_LocalVariables, RDI_SectionKind_LocalVariables},
{RDI_DumpSubset_Constants, RDI_SectionKind_Constants},
};
for EachElement(symbol_table_idx, symbol_tables)
{
@@ -1047,7 +1047,7 @@ lane_sync(); if(flags & (1ull<<(kind))) ProfScope(rdi_name_title_from_dump_subse
U64 scope_voffs_count = 0;
U64 *scope_voffs = rdi_table_from_name(rdi, ScopeVOffData, &scope_voffs_count);
U64 locals_count = 0;
RDI_Symbol *locals = rdi_table_from_name(rdi, LocalVariableSymbols, &locals_count);
RDI_Symbol *locals = rdi_table_from_name(rdi, LocalVariables, &locals_count);
U64 count = 0;
RDI_Scope *v = rdi_table_from_name(rdi, Scopes, &count);
RDI_Scope *nil = &v[0];
@@ -1077,7 +1077,7 @@ lane_sync(); if(flags & (1ull<<(kind))) ProfScope(rdi_name_title_from_dump_subse
}
// rjf: scope procedure -> name
String8 procedure_name = str8_from_rdi_string_idx(rdi, rdi_element_from_name_idx(rdi, ProcedureSymbols, scope->proc_idx)->name_string_idx);
String8 procedure_name = str8_from_rdi_string_idx(rdi, rdi_element_from_name_idx(rdi, Procedures, scope->proc_idx)->name_string_idx);
if(procedure_name.size == 0)
{
procedure_name = str8_lit("???");