[hwasan] Default -hwasan-use-stack-safety to off.
authorFlorian Mayer <fmayer@google.com>
Wed, 18 Aug 2021 09:21:27 +0000 (10:21 +0100)
committerFlorian Mayer <fmayer@google.com>
Wed, 18 Aug 2021 16:21:32 +0000 (17:21 +0100)
This very occasionally causes to an assertion failure in the compiler.
Turning off until we can get to the bottom of this.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D108282

llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

index 71325d5..d7cff90 100644 (file)
@@ -115,7 +115,7 @@ static cl::opt<bool> ClInstrumentStack("hwasan-instrument-stack",
                                        cl::Hidden, cl::init(true));
 
 static cl::opt<bool>
-    ClUseStackSafety("hwasan-use-stack-safety", cl::Hidden, cl::init(true),
+    ClUseStackSafety("hwasan-use-stack-safety", cl::Hidden, cl::init(false),
                      cl::Hidden, cl::desc("Use Stack Safety analysis results"),
                      cl::Optional);