Try moving parapoly procs into a separate module when doing weak monomorphization

This commit is contained in:
gingerBill
2025-09-18 15:04:16 +01:00
parent 5b0510a6bd
commit 738a72943b
7 changed files with 66 additions and 11 deletions

View File

@@ -1327,7 +1327,7 @@ gb_internal void lb_add_debug_info_for_global_constant_from_entity(lbGenerator *
}
lbModule *m = &gen->default_module;
if (USE_SEPARATE_MODULES) {
m = lb_module_of_entity(gen, e);
m = lb_module_of_entity(gen, e, m);
}
GB_ASSERT(m != nullptr);