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
+12
View File
@@ -367,6 +367,16 @@ typedef struct
CV_SymbolNode **symbol_arr;
} LNK_GsiUnbucket;
typedef struct
{
CV_DebugT debug_t;
Rng1U64 *ranges;
U64 hash_length;
B32 make_map;
TP_Arena *map_arena;
String8List *maps;
} LNK_TypeNameReplacer;
////////////////////////////////
// RAD Debug Info
@@ -524,6 +534,8 @@ internal void lnk_patch_leaves(TP_Context *tp, LNK_CodeViewInput
internal String8Node * lnk_copy_raw_leaf_arr_to_type_server(TP_Context *tp, CV_DebugT types, PDB_TypeServer *type_server);
internal CV_DebugT * lnk_import_types(TP_Context *tp, TP_Arena *tp_temp, LNK_CodeViewInput *input);
internal void lnk_replace_type_names_with_hashes(TP_Context *tp, TP_Arena *arena, CV_DebugT debug_t, U64 hash_length, String8 map_name);
////////////////////////////////
// RAD Debug info