File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8043,14 +8043,14 @@ extern "C" void jl_init_llvm(void)
80438043
80448044 TargetOptions options = TargetOptions ();
80458045 // options.PrintMachineCode = true; //Print machine code produced during JIT compiling
8046- #if defined(_OS_WINDOWS_) && !defined(_CPU_X86_64_) && JL_LLVM_VERSION <= 120000
8046+ #if defined(_OS_WINDOWS_) && !defined(_CPU_X86_64_) && JL_LLVM_VERSION < 130000
80478047 // tell Win32 to assume the stack is always 16-byte aligned,
80488048 // and to ensure that it is 16-byte aligned for out-going calls,
80498049 // to ensure compatibility with GCC codes
80508050 // In LLVM 13 and onwards this has turned into a module option
80518051 options.StackAlignmentOverride = 16 ;
80528052#endif
8053- #if defined(JL_DEBUG_BUILD) && JL_LLVM_VERSION <= 120000
8053+ #if defined(JL_DEBUG_BUILD) && JL_LLVM_VERSION < 130000
80548054 // LLVM defaults to tls stack guard, which causes issues with Julia's tls implementation
80558055 options.StackProtectorGuard = StackProtectorGuards::Global;
80568056#endif
You can’t perform that action at this time.
0 commit comments