aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-29 16:16:19 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-29 16:16:19 +0100
commit9e8be055c1152bd42f533f544308355de87a361e (patch)
treeda18760247d30e73dc0dddb7bd38d83650d18c82 /src/llvm_backend.cpp
parent11712627cbb95e3ae15d6a8e2c5863e192caa68a (diff)
Rename to `-build-diagnostics`
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp
index bbfd91d30..ab0811085 100644
--- a/src/llvm_backend.cpp
+++ b/src/llvm_backend.cpp
@@ -3571,8 +3571,8 @@ 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_code_gen_diagnostics(gen);
+ if (build_context.build_diagnostics) {
+ lb_do_build_diagnostics(gen);
}
llvm_error = nullptr;