[asan] added internal flag mmap_limit_mb

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206178 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept wcsftime().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206179 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Do not use lambda in sanitizer lit tests.

We may be building with a very old C++ library.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206180 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix mmap_limit_mb test to not use C++11.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206182 91177308-0d34-0410-b5e6-96231b3b80d8
sanitizer_deadlock_detector.h: MSVC 2012 doesn't like compound literals

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206199 91177308-0d34-0410-b5e6-96231b3b80d8
sanitizer_atomic_msvc.h: add atomic_fetch_{add,sub} overloads for uintptr_t

This should hopefully unbreak the MSVC build after r206178.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206200 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] try fixing the mmap_limit_mb failure on buildbot (tests pass locally)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206262 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Replace a CHECK for mmap_limit_mb with a RAW_CHECK.
In the case of a CHECK failure the program tries to fork and launch llvm-symbolizer,
but hangs in mz_force_lock because one of the allocator locks is already acquired.


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