[asan] add one more mode to run asan tests with '-with-calls', i.e. using  -mllvm -asan-instrumentation-with-call-threshold=0. This is very unfortunate since it effectively doubles the number of gunit asan tests that need to be built and run, but as long as we need out-lined calls (PR17409) I see no other way to test this workaround

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206742 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] add __asan_memset and friends

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206748 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] add a run-time flag detect_container_overflow=true/false

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206753 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: deflake test
ocasionally it fails with a slightly different report:

WARNING: ThreadSanitizer: signal handler spoils errno (pid=3674)
    #0 MyHandler(int, siginfo*, void*)
    ...
    #4 __tsan_free_hook
    #5 main signal_errno.cc:40



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206754 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept tsearch.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206755 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] enable check_printf by default for asan and tsan. We've been using this flag for a while and it seems to be stable enough for the rest of the world.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206872 91177308-0d34-0410-b5e6-96231b3b80d8