Merge pull request #7729 from odin-lang/bill/llvm-backend-improvements

LLVM Backend Performance Improvements to Reduce Compile Times Part 2
This commit is contained in:
gingerBill authored and GitHub committed 2026-10-04 19:01:11 +01:00
commit 18aead3ba1
28 files changed
+1266 -941

No files matched your search

+4
View File
@@ -381,6 +381,10 @@ try_cross_linking:;
if (build_context.ODIN_DEBUG) {
link_settings = gb_string_append_fmt(link_settings, " /DEBUG");
if (build_context.build_mode != BuildMode_StaticLibrary) {
// NOTE(bill): `/opt:ref` would also fold identical functions, which is slow and confuses the debugger
link_settings = gb_string_append_fmt(link_settings, " /OPT:NOICF");
}
}
gbString object_files = gb_string_make(heap_allocator(), "");