tsan: use a single background thread for memory profiler and memory flush (and later for symbolizer flush)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177627 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add a comment about magic numbers


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177628 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: flush symbolizer cache if not symbolized for more than 5 seconds



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177629 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177634 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: remove bogus CHECK
Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177636 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: intercept abort() to fflush() libc streams



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177637 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add flag to control symbolizer flush frequency



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177638 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better reporting for races on vptr
explicitly say "ctor/dtor vs virtual call"



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