[sanitizer] add support for try_lock in deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202120 91177308-0d34-0410-b5e6-96231b3b80d8
Enable UBSan on FreeBSD. Patch by Viktor Kutuzov.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202122 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] add deadlock detector tests for pthread_spin_lock

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202123 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix for size_t in Asan's new and delete operators on x64 FreeBSD in 32-bit mode, only for FreeBSD <= 9.2; patch by Viktor Kutuzov

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