factored out logic for splitting function chunks into separate pass

over symbol table; associations are now assigned to sub chunks too;
inherit function chunk align from parent chunk
This commit is contained in:
Nikita Smith
2025-01-16 13:47:13 -08:00
parent c000817b9a
commit b405ed4873
7 changed files with 258 additions and 251 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ lnk_make_section_sort_index(Arena *arena, String8 name, COFF_SectionFlags flags,
internal void
lnk_section_associate_chunks(LNK_Section *sect, LNK_Chunk *head, LNK_Chunk *associate)
{
lnk_chunk_associate(sect->arena, head, associate);
lnk_chunk_associate(head, associate);
}
internal LNK_Chunk *