tsan: better error message for OOM


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168491 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add missing \n in report


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168496 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix more bugs in signal handling


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168497 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: ensure than func entry/exit are inlined


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168506 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Add interceptor for swapcontext to fight with false positives in some of its use cases.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168508 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] intercept swapcontext on Linux only

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168509 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] move swapcontext_test to Linux-specific tests

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168513 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] get rid of some of the uses of kPageSize. The intent is to get rid of it completely to support platforms with multiple possible page sizes.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168517 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add failure memory order to atomic compare exchange functions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168518 91177308-0d34-0410-b5e6-96231b3b80d8
[asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168537 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: faster memory reset for Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168567 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add atomic nand operation


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168584 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix Android build by not calling GetPageSizeCached in a test (no need for the page size anyway)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168585 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: explicitly mark symbols referenced from assembly as hidden
this allows to build tsan runtime as dynamic library


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168589 91177308-0d34-0410-b5e6-96231b3b80d8
Automatically create .dSYM for libcompiler_rt.dylib when using Apple's internal build system

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168625 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: refactor atomic operations implementation
do the atomic operation under the sync object mutex
make acquire/release sync atomic with the operation itself
combine acquire and release into a single acq_rel operation


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168682 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add 128-bit atomic operations


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168683 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add memory range access functions to public iface


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168692 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix compilation for dead old compilers (why we are supporting them at all?..)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168693 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix macro mess


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