We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c03d6 commit 67fed9cCopy full SHA for 67fed9c
src/codegen.cpp
@@ -9068,9 +9068,14 @@ extern "C" void jl_init_llvm(void)
9068
cl::ProvidePositionalOption(clopt, "true", 1);
9069
#else
9070
cl::ProvidePositionalOption(clopt, "false", 1);
9071
-#endif
+#endif // JL_LLVM_OPAQUE_POINTERS
9072
+#ifdef JL_DEBUG_BUILD
9073
+ clopt = llvmopts.lookup("verify-memoryssa");
9074
+ if (clopt && clopt->getNumOccurrences() == 0) {
9075
+ cl::ProvidePositionalOption(clopt, "true", 1);
9076
}
9077
+#endif // JL_DEBUG_BUILD
9078
+#endif // JL_LLVM_VERSION
9079
9080
jl_ExecutionEngine = new JuliaOJIT();
9081
0 commit comments