[ASan] Mark init-order test as XFAIL on Darwin

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182365 91177308-0d34-0410-b5e6-96231b3b80d8
[nolibc] Move libc-dependent sanitizer_posix.cc code to sanitizer_posix_libcdep.cc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182366 91177308-0d34-0410-b5e6-96231b3b80d8
[nolibc] Move stoptheworld to RTSanitizerCommonLibc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182369 91177308-0d34-0410-b5e6-96231b3b80d8
[nolibc] Move symbolizer to RTSanitizerCommonLibc, and make it optional using a weak symbol.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182372 91177308-0d34-0410-b5e6-96231b3b80d8
[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