[msan] A regression test for r189785.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189786 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Another regression test for r189786.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189787 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix linking when -ltsan is passed before -lpthread
libpthread is weird:
/lib/x86_64-linux-gnu/libpthread.so.0:000000000000b9b0 T pthread_cond_init@@GLIBC_2.3.2
/lib/x86_64-linux-gnu/libpthread.so.0:000000000000c720 T pthread_cond_init@GLIBC_2.2.5
let's do it with @@ for now
we can always introduce more macros parameters later



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189788 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Move the /proc/self/maps parsing logic to sanitizer_common 

Provide a generic way for the tools to generate memory profiles from contents of /proc/self/maps



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189789 91177308-0d34-0410-b5e6-96231b3b80d8
[libsanitizer] Remove an unused variable introduced in r189789


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189790 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add suppressions for true/false positives in standard libraries


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189791 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] fixup for r189791: don't put ; on the newline

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189797 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Add the way to find binary in PATH

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189799 91177308-0d34-0410-b5e6-96231b3b80d8
ASan, LSan, MSan: try to find llvm-symbolizer binary in PATH if it is not provided. Now we don't need to explicitly set the location of llvm-symbolizer in lit test configs.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189801 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Colorize LSan reports.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189804 91177308-0d34-0410-b5e6-96231b3b80d8
implement PR17059: more visible diagnostics for stack-buffer-overflow

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189806 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r185536 as it neither fixes any memory leaks, nor is it necessary (see the example from "man pthread_getattr_np")

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189810 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] attemping to fix the Windows build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189814 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: catch races on condition variables


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189816 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Hopefully fix the RTL build on Windows (part 2)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189817 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Hopefully un-break the RTL on Windows

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189821 91177308-0d34-0410-b5e6-96231b3b80d8
Disable FindPathToBinary test on Android

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