[PATCH] D108381: [hwasan] re-enable stack safety by default.

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 08:37:54 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.

The failed assertion was fixed in D108337 <https://reviews.llvm.org/D108337>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108381

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(false),
+    ClUseStackSafety("hwasan-use-stack-safety", cl::Hidden, cl::init(true),
                      cl::Hidden, cl::desc("Use Stack Safety analysis results"),
                      cl::Optional);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108381.367512.patch
Type: text/x-patch
Size: 648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210819/4d2363ff/attachment.bin>


More information about the llvm-commits mailing list