A fix for platform-dependent types in sanitizers' profiling support lib on x64 FreeBSD in 32-bit mode

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203470 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix a typo.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203568 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Don't build the ASan runtime with -undefined dynamic_lookup, which isn't necessary anymore.
Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=266.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203572 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "[asan] Make __cxa_demangle non-weak symbol on Android."

stlport doesn't include __cxa_demangle.

This reverts r201545.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203601 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add disabled test for http://llvm.org/bugs/show_bug.cgi?id=19113



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203646 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add interceptors for fopen64, freopen64, tmpfile, tmpfile64



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203647 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix handling of pthread_cond_wait in presence of pthread_cancel
if the thread is cancelled in pthread_cond_wait, it locks the mutex before
processing pthread_cleanup stack
but tsan was missing that, thus reporting false double-lock/wrong-unlock errors
see the test for details



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203648 91177308-0d34-0410-b5e6-96231b3b80d8
Add FreeBSD 9.2 support to asan_linux.cc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203658 91177308-0d34-0410-b5e6-96231b3b80d8
Fix MSVS warnings in the sanitizers RTL

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203661 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix deadlock in deadlock detector
forget to unlock a mutex on one of the paths



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203663 91177308-0d34-0410-b5e6-96231b3b80d8
Implement Android versions of __clear_cache for arm32 & mips.

The MIPS version was reviewed by myself. The ARM version was reviewed by JF
Bastien.

Patch by Narayan Kamath <narayan@google.com>.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203674 91177308-0d34-0410-b5e6-96231b3b80d8
profile: Use a simple binary format for profiling

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203710 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "profile: Use a simple binary format for profiling"

This will break without the corresponding change in clang, which I've
reverted until I figure out how to get it to link properly.

This reverts commit r203710.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203713 91177308-0d34-0410-b5e6-96231b3b80d8
Preserve constness for intermediate pointers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203743 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Make append_if semantics similar to those used in LLVM

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203773 91177308-0d34-0410-b5e6-96231b3b80d8
FastPoisonShadow: check for MmapFixedNoReserve failures

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203776 91177308-0d34-0410-b5e6-96231b3b80d8
Disable fast shadow zero'ing on Windows

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203778 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] support recursive rwlocks in bitset-based deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203779 91177308-0d34-0410-b5e6-96231b3b80d8
Work around PR19125: -Wconstant-logical-operand false positive

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203782 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: update the test since the bug is fixed
http://llvm.org/bugs/show_bug.cgi?id=19113 is fixed, so enable the better CHECK



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