[ASan] Enable instrumentation of dynamic allocas by default.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 22 Oct 2015 20:07:28 +0000 (20:07 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 22 Oct 2015 20:07:28 +0000 (20:07 +0000)
llvm-svn: 251056

llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

index 8767013..5af94ec 100644 (file)
@@ -194,7 +194,7 @@ static cl::opt<std::string> ClMemoryAccessCallbackPrefix(
     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,