[Sanitizer] Print verbose warning if symbolizer can't read /proc/self/exe for some reason

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182374 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] LSan in LD_PRELOAD library form.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182376 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] LSan hooks in asan_thread.cc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182378 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] LSan hooks in asan_allocator2.cc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182379 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] create default (empty) ASan blacklist file in resource directory

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182380 91177308-0d34-0410-b5e6-96231b3b80d8
[MSan] Add empty default blacklist for MSan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182382 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Change CMakeLists to build the common LSan module for ASan.
Also, define CAN_SANITIZE_LEAKS.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182383 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] LSan hooks in asan_rtl.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182384 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Do not invoke LSan hooks unless CAN_SANITIZE_LEAKS.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182389 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Invoke leak detection with atexit().

Keeps it consistent between ASan and LSan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182399 91177308-0d34-0410-b5e6-96231b3b80d8
Add atomic.c back to the builtins module sources lists (for Makefile build).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182420 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/13806954> enable __atomic_* functions for Darwin

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182435 91177308-0d34-0410-b5e6-96231b3b80d8
Add atomic.c to CMake build of compiler-rt to match r182420

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182453 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] workaround for asan bug 189 (swapcontext followed by throw gets OOM kill). Also, disable swapcontext_test on non-x86. Fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182456 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix dlclose-test to work with non-4K pages. Properly disable interface_symbols_linux on non-x86

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182461 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] attempting to fix the debian bot (on ubuntu the test builds; on debian it complains that _SC_PAGESIZE is unknown)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182462 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] enhance stack-overflow.cc test: check that the location frame is properly symbolized

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182463 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Temporary remove leak checking from ASan, while we don't have makefile-based build for LSan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182465 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] getaddrinfo & nested interceptor support.

Multiple connected changes:
- Ignore reads from nested interceptors.
- Check shadow on reads from common interceptors.
- getaddrinfo interceptor.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182466 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix Mac build.


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