1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[asan] add a run-time flag detect_container_overflow=true/false

llvm-svn: 206756
This commit is contained in:
Kostya Serebryany 2014-04-21 14:35:00 +00:00
parent 56c64fd6fd
commit 0ca459b956

View File

@ -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,