From 164e09de2e92a2fa650225b4bd9268e8c2248b23 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Wed, 18 Aug 2021 10:21:27 +0100 Subject: [PATCH] [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 --- llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp index 71325d5..d7cff90 100644 --- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp @@ -115,7 +115,7 @@ static cl::opt ClInstrumentStack("hwasan-instrument-stack", cl::Hidden, cl::init(true)); static cl::opt - 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); -- 2.7.4