[PATCH] D108282: [hwasan] Default -hwasan-use-stack-safety to off.

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 02:23:33 PDT 2021


fmayer created this revision.
fmayer added a reviewer: hctim.
Herald added a subscriber: hiraditya.
fmayer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This very occasionally causes to an assertion failure in the compiler.
Turning off until we can get to the bottom of this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108282

Files:
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp


Index: llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -115,7 +115,7 @@
                                        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);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108282.367152.patch
Type: text/x-patch
Size: 648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/1ec0b2ab/attachment.bin>


More information about the llvm-commits mailing list