store library pointer in the obj instead of path; required for prioritized symbol lookup implementation

This commit is contained in:
Nikita Smith
2025-07-28 20:07:56 -07:00
parent 4cb09e73c2
commit 1e1d903878
6 changed files with 55 additions and 44 deletions
+3 -1
View File
@@ -42,7 +42,7 @@ typedef struct LNK_InputObj
String8 dedup_id;
String8 path;
String8 data;
String8 lib_path;
struct LNK_Lib *lib;
U64 input_idx;
} LNK_InputObj;
@@ -55,6 +55,8 @@ typedef struct LNK_InputObjList
////////////////////////////////
internal void lnk_error_input_obj(LNK_ErrorCode code, LNK_InputObj *input, char *fmt, ...);
internal String8 lnk_string_from_input_source(LNK_InputSourceType input_source);
internal void lnk_input_obj_list_push_node(LNK_InputObjList *list, LNK_InputObj *node);