mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-12 13:28:11 +00:00
llvm-18: enable sroa and static map calls
This commit is contained in:
@@ -2027,10 +2027,12 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
||||
|
||||
bc->optimization_level = gb_clamp(bc->optimization_level, -1, 3);
|
||||
|
||||
#if LLVM_VERSION_MAJOR != 18
|
||||
if (bc->metrics.os != TargetOs_windows) {
|
||||
// ENFORCE DYNAMIC MAP CALLS
|
||||
bc->dynamic_map_calls = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
bc->ODIN_VALGRIND_SUPPORT = false;
|
||||
if (build_context.metrics.os != TargetOs_windows) {
|
||||
|
||||
Reference in New Issue
Block a user