[llvm] 164e09d - [hwasan] Default -hwasan-use-stack-safety to off.
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 18 09:21:52 PDT 2021
Author: Florian Mayer
Date: 2021-08-18T17:21:32+01:00
New Revision: 164e09de2e92a2fa650225b4bd9268e8c2248b23
URL: https://github.com/llvm/llvm-project/commit/164e09de2e92a2fa650225b4bd9268e8c2248b23
DIFF: https://github.com/llvm/llvm-project/commit/164e09de2e92a2fa650225b4bd9268e8c2248b23.diff
LOG: [hwasan] Default -hwasan-use-stack-safety to off.
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
Added:
Modified:
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
index 71325d56e4b7..d7cff904ca15 100644
--- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -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);
More information about the llvm-commits
mailing list