mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-31 19:30:03 +00:00
checkpoint on src file / src line map baking
This commit is contained in:
@@ -719,6 +719,7 @@ rdim_src_file_push_line_sequence(RDIM_Arena *arena, RDIM_SrcFileChunkList *src_f
|
||||
RDIM_SrcFileLineMapFragment *fragment = rdim_push_array(arena, RDIM_SrcFileLineMapFragment, 1);
|
||||
fragment->seq = seq;
|
||||
RDIM_SLLQueuePush(src_file->first_line_map_fragment, src_file->last_line_map_fragment, fragment);
|
||||
src_file->total_line_count += seq->line_count;
|
||||
src_files->total_line_count += seq->line_count;
|
||||
}
|
||||
|
||||
|
||||
@@ -538,6 +538,7 @@ struct RDIM_SrcFile
|
||||
RDIM_String8 path;
|
||||
RDIM_SrcFileLineMapFragment *first_line_map_fragment;
|
||||
RDIM_SrcFileLineMapFragment *last_line_map_fragment;
|
||||
RDI_U64 total_line_count;
|
||||
};
|
||||
|
||||
typedef struct RDIM_SrcFileChunkNode RDIM_SrcFileChunkNode;
|
||||
|
||||
Reference in New Issue
Block a user