mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-24 00:17:52 +00:00
move image, import lib, and debug info builders outside of the state machine
This commit is contained in:
committed by
Ryan Fleury
parent
e971db7fdd
commit
1c08db2705
@@ -360,14 +360,10 @@ lnk_merge_debug_t_and_debug_p(Arena *arena, U64 obj_count, CV_DebugT *debug_t_ar
|
||||
}
|
||||
|
||||
internal LNK_CodeViewInput
|
||||
lnk_make_code_view_input(TP_Context *tp, TP_Arena *tp_arena, String8List lib_dir_list, LNK_ObjList obj_list)
|
||||
lnk_make_code_view_input(TP_Context *tp, TP_Arena *tp_arena, String8List lib_dir_list, U64 obj_count, LNK_Obj **obj_arr)
|
||||
{
|
||||
ProfBegin("Extract CodeView");
|
||||
Temp scratch = scratch_begin(0,0);
|
||||
|
||||
// obj list -> array
|
||||
U64 obj_count = obj_list.count;
|
||||
LNK_Obj **obj_arr = lnk_array_from_obj_list(tp_arena->v[0], obj_list);
|
||||
|
||||
// gather debug info sections from objs
|
||||
ProfBegin("Collect CodeView");
|
||||
|
||||
Reference in New Issue
Block a user