diff options
| author | Kostya Serebryany <kcc@google.com> | 2014-04-21 14:35:00 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2014-04-21 14:35:00 +0000 |
| commit | 35e538312ac26303ac0577f18b01549e8ea24c34 (patch) | |
| tree | a08cc7575c869fa809f5be04431ddb296111f5e3 /llvm/lib | |
| parent | a7f9071f256c41aaf3e4dce860bc43371902012c (diff) | |
| download | bcm5719-llvm-35e538312ac26303ac0577f18b01549e8ea24c34.tar.gz bcm5719-llvm-35e538312ac26303ac0577f18b01549e8ea24c34.zip | |
[asan] add a run-time flag detect_container_overflow=true/false
llvm-svn: 206756
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp index 5cd34b0de52..3dd3b890472 100644 --- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp @@ -155,7 +155,7 @@ static cl::opt<int> ClInstrumentationWithCallsThreshold( cl::desc("If the function being instrumented contains more than " "this number of memory accesses, use callbacks instead of " "inline checks (-1 means never use callbacks)."), - cl::Hidden, cl::init(-1)); + cl::Hidden, cl::init(10000)); static cl::opt<std::string> ClMemoryAccessCallbackPrefix( "asan-memory-access-callback-prefix", cl::desc("Prefix for memory access callbacks"), cl::Hidden, |

