move weak symbol replacer to the symbol table layer

This commit is contained in:
Nikita Smith authored and Ryan Fleury committed 2025-09-05 15:19:30 -07:00
1 parent 8d75497bba
commit 43e81b934b
4 files changed
+131 -114

No files matched your search

+8
View File
@@ -78,6 +78,14 @@ typedef struct LNK_SymbolTable
LNK_SymbolHashTrieChunkList *chunks;
} LNK_SymbolTable;
// --- Workers Contexts --------------------------------------------------------
typedef struct
{
LNK_SymbolTable *symtab;
LNK_SymbolHashTrieChunk **chunks;
} LNK_ReplaceWeakSymbolsWithDefaultSymbolTask;
// --- Symbol Make -------------------------------------------------------------
internal LNK_Symbol * lnk_make_defined_symbol(Arena *arena, String8 name, struct LNK_Obj *obj, U32 symbol_idx);