mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 14:22:18 -04:00
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:
28 files changed
+1266
-941
No files matched your search
@@ -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(), "");
|
||||
|
||||
Reference in new issue
Block a user