ARM: fix built-bots trying to use Thumb2 code on armv6m

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202819 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix pthread_cond interceptors
currently tsan hangs when linked with a shared library linked against an old version of pthread
this change is another attempt to fix pthread_cond interceptors in different scenarios
see the comment for implementation details



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202820 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add concurrent hashmap for standalone deadlock detector



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



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202831 91177308-0d34-0410-b5e6-96231b3b80d8
Avoid doing any work when unwinding stack traces with 0 or 1 frame

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202837 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Add missing line to getxattr() test.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202841 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add dynamic library target for standalone deadlock detector
it's LD_PRELOAD-able




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202843 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Speed up stack trace unwinding for stacks of size 2.

Summary:
We don't need to do any work in this case - just take
the current PC and caller PC.

Reviewers: eugenis, ygribov

Reviewed By: eugenis

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2936

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202845 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Make up for missing interceptor in getxattr() test.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202846 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Test for libdl and libpthread presence

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202847 91177308-0d34-0410-b5e6-96231b3b80d8
Fix StackTrace::LocatePcInTrace, add more unit tests for generic StackTrace

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202849 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: attempt to fix darwin build
everything except linux does not need this hackery with pthread_cond



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



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202852 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add interceptors for pthread_spinlock_t and ptread_rwlock_t for deadlock detector


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202947 91177308-0d34-0410-b5e6-96231b3b80d8
Increase threshold in StackTrace::LocatePcInTrace

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202950 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Minor fix to llvm-config discovery

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