replace type names with hashes

This commit is contained in:
Nikita Smith
2024-10-30 15:56:09 -07:00
parent 4a2e1dd8d0
commit f3fbf10754
5 changed files with 204 additions and 37 deletions
+5
View File
@@ -4131,6 +4131,11 @@ l.count += 1; \
// strings in $$FILE_CHECKSUM step in `lnk_process_c13_data_task`.
if (config->debug_mode == LNK_DebugMode_Full || config->debug_mode == LNK_DebugMode_GHash) {
lnk_timer_begin(LNK_Timer_Pdb);
if (config->pdb_hash_type_names == LNK_SwitchState_Yes) {
lnk_replace_type_names_with_hashes(tp, tp_arena, types[CV_TypeIndexSource_TPI], config->pdb_hash_type_name_length, config->pdb_hash_type_name_map);
}
String8List pdb_data = lnk_build_pdb(tp,
tp_arena,
config->guid,