Add common interceptors for memchr/memrchr

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202972 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: include what you use
VPrintf uses common_flags()



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202974 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: implement new version of standalong deadlock detector
intercept pthread_cond (it is required to properly track state of mutexes)
detect cycles in mutex graph



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202975 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix deadlock detector build for SANITIZER_DEADLOCK_DETECTOR_VERSION=2



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202977 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add missing header file to sanitizer_common cmake file



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202979 91177308-0d34-0410-b5e6-96231b3b80d8
Enable memrchr interceptor only on Linux

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202981 91177308-0d34-0410-b5e6-96231b3b80d8
Improve llvm-symbolizer discovery in asan_symbolize.py

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202982 91177308-0d34-0410-b5e6-96231b3b80d8
asan_symbolize.py: use llvm-symbolizer results even if it returned function name w/o file/line info

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202983 91177308-0d34-0410-b5e6-96231b3b80d8
[FreeBSD] Enable procmaps on FreeBSD.

This is not the final patch for procmaps, but it's enough for building
sanitizers and tests on FreeBSD.

Patch by Viktor Kutuzov!


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203099 91177308-0d34-0410-b5e6-96231b3b80d8
[FreeBSD] Provide FreeBSD-specific things for ASan.

Patch by Viktor Kutuzov!


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