[llvm] r251056 - [ASan] Enable instrumentation of dynamic allocas by default.

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 13:07:28 PDT 2015


Author: samsonov
Date: Thu Oct 22 15:07:28 2015
New Revision: 251056

URL: http://llvm.org/viewvc/llvm-project?rev=251056&view=rev
Log:
[ASan] Enable instrumentation of dynamic allocas by default.

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp?rev=251056&r1=251055&r2=251056&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp Thu Oct 22 15:07:28 2015
@@ -194,7 +194,7 @@ static cl::opt<std::string> ClMemoryAcce
     cl::init("__asan_"));
 static cl::opt<bool> ClInstrumentAllocas("asan-instrument-allocas",
                                          cl::desc("instrument dynamic allocas"),
-                                         cl::Hidden, cl::init(false));
+                                         cl::Hidden, cl::init(true));
 static cl::opt<bool> ClSkipPromotableAllocas(
     "asan-skip-promotable-allocas",
     cl::desc("Do not instrument promotable allocas"), cl::Hidden,




More information about the llvm-commits mailing list