[ASan] Enable instrumentation of dynamic allocas by default.
[oota-llvm.git] / lib / Transforms / Instrumentation / AddressSanitizer.cpp
index 876701367a1823b0d84fa530802a17a516c5672b..5af94ec4bc0a5e66b6399a6d3b806d9f76b3632c 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,