mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-24 14:52:21 -08:00
refactor PDB background file output
Add a shared multi-file background writer with lazy worker startup. Represent PDB output as a file artifact, keep PDB output state internal to the builder, and overlap deferred PDB writers with the file maps release.
This commit is contained in:
1 parent
c96c9620d0
commit
c629c5b10e
9 files changed
+368
-197
No files matched your search
@@ -239,6 +239,13 @@ typedef struct
|
||||
PDB_DbiSCList *sc_list; // [obj_count]
|
||||
} LNK_BuildPdb;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
LNK_BackgroundFileWriter *file_writer;
|
||||
String8 output_path;
|
||||
String8 temp_output_path;
|
||||
} LNK_PdbWriter;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
U64 leaf_count;
|
||||
@@ -274,4 +281,4 @@ internal void lnk_replace_type_names_with_hashes (TP_Context *tp, TP
|
||||
////////////////////////////////
|
||||
// PDB
|
||||
|
||||
internal String8List lnk_build_pdb(TP_Context *tp, TP_Arena *tp_arena, String8 image_data, LNK_Config *config, LNK_SymbolTable *symtab, LNK_CodeViewInput *cv, LNK_MergedTypes cv_types, String8 output_path, String8 temp_output_path, LNK_PDB_BuilderFlags builder_flags);
|
||||
internal LNK_FileArtifact lnk_build_pdb(TP_Context *tp, TP_Arena *tp_arena, String8 image_data, LNK_Config *config, LNK_SymbolTable *symtab, LNK_CodeViewInput *cv, LNK_MergedTypes cv_types, LNK_PdbWriter writer, LNK_PDB_BuilderFlags builder_flags);
|
||||
Reference in new issue
Block a user