[PATCH] D113060: [ASan] Turned on callback optimization on by default.

Kirill Stoimenov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 15:14:09 PDT 2021


kstoimenov updated this revision to Diff 384258.
kstoimenov added a comment.

Removed some debug printfs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113060/new/

https://reviews.llvm.org/D113060

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


Index: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -365,7 +365,7 @@
 
 static cl::opt<bool> ClOptimizeCallbacks("asan-optimize-callbacks",
                                          cl::desc("Optimize callbacks"),
-                                         cl::Hidden, cl::init(false));
+                                         cl::Hidden, cl::init(true));
 
 static cl::opt<bool> ClOptSameTemp(
     "asan-opt-same-temp", cl::desc("Instrument the same temp just once"),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113060.384258.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/76a740da/attachment.bin>


More information about the llvm-commits mailing list