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 a596f95Copy full SHA for a596f95
src/codegen.cpp
@@ -9068,9 +9068,15 @@ 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
}
9073
+#ifdef JL_DEBUG_BUILD
9074
+ clopt = llvmopts.lookup("verify-memoryssa");
9075
+ if (clopt && clopt->getNumOccurrences() == 0) {
9076
+ cl::ProvidePositionalOption(clopt, "true", 1);
9077
+ }
9078
+#endif // JL_DEBUG_BUILD
9079
+#endif // JL_LLVM_VERSION
9080
9081
jl_ExecutionEngine = new JuliaOJIT();
9082
0 commit comments