[ASan] Better way to disable tests for functions unavailable on certain platforms

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203224 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix pthread_cond_destroy interceptor on android



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203226 91177308-0d34-0410-b5e6-96231b3b80d8
[FreeBSD] Port sanitizers' syscalls.

Patch by Viktor Kutuzov!


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203227 91177308-0d34-0410-b5e6-96231b3b80d8
[FreeBSD] Add support for sanitizer_linux_libcdep.cc

Patch by Viktor Kutuzov!


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203235 91177308-0d34-0410-b5e6-96231b3b80d8
Remove sanitizer_linux_libcdep.cc from TSan-Go build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203238 91177308-0d34-0410-b5e6-96231b3b80d8
ARM: fix file's header comment

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203247 91177308-0d34-0410-b5e6-96231b3b80d8
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