Add -para-poly-diagnostics

This commit is contained in:
gingerBill
2025-09-29 14:03:32 +01:00
parent 11dc6680d2
commit 53f4fc1cbb
6 changed files with 196 additions and 0 deletions

View File

@@ -3556,6 +3556,10 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
TIME_SECTION("LLVM Correct Entity Linkage");
lb_correct_entity_linkage(gen);
if (build_context.para_poly_diagnostics) {
lb_do_para_poly_diagnostics(gen);
}
llvm_error = nullptr;
defer (LLVMDisposeMessage(llvm_error));