Skip to content

Commit 4718888

Browse files
vchuravyvtjnash
andauthored
Apply suggestions from code review
Co-authored-by: Jameson Nash <[email protected]>
1 parent fee5633 commit 4718888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codegen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)