Custom wrappers for DFSanitizing sprintf & snprintf.

Differential Revision: http://reviews.llvm.org/D5561



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219293 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Bump the minimum OSX version required to run ASan to 10.7.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219302 91177308-0d34-0410-b5e6-96231b3b80d8
Separating ARM/AArch64 Compiler-RT tests

Makes sure ARM bots don't run AArch64 and vice-versa, since not all
AArch64 systems can run AArch32 and no ARM hardware can run AArch64.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219304 91177308-0d34-0410-b5e6-96231b3b80d8
AArch64: add support for ARM64 iOS versions of compiler-rt.

Just a dummy directory and a few sane choices in the Darwin SDK.

rdar://problem/18575597

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219323 91177308-0d34-0410-b5e6-96231b3b80d8
AArch64: don't just hack arm64 support into compiler-rt.

We should check whether the compiler & linker support ARM64 before attempting
to build a version of compiler-rt for it. Otherwise things will go badly.

rdar://problem/18575597

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219332 91177308-0d34-0410-b5e6-96231b3b80d8
Remove bashisms and switch to /bin/sh

On a default FreeBSD install Bash is not installed and fdescfs is not
mounted.  Use plain sh functionality instead.

Differential Revision: http://reviews.llvm.org/D5631


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219333 91177308-0d34-0410-b5e6-96231b3b80d8
Mark sanitizer tests XFAIL on ARMv7

ASAN, UBSAN and profile tests that don't work with arm-linux-gnueabi and
android also don't work on armv7l-linux-gnueabihf. Some of the tests have
known causes, others not yet. In order to get a green bot, I'm disabling
those tests for now and will investigate when the priority rises.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219343 91177308-0d34-0410-b5e6-96231b3b80d8
[Tsan] Fix references to libc entities in tsan_interceptors.cc on FreeBSD
Differential Revision: http://reviews.llvm.org/D5663


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219395 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizers] Intercept dlopen() and dlclose() on FreeBSD
Differential Revision: http://reviews.llvm.org/D5664


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219396 91177308-0d34-0410-b5e6-96231b3b80d8
[Tsan] Fix the blacklist2.cc test to pass on FreeBSD
Differential Revision: http://reviews.llvm.org/D5665


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219397 91177308-0d34-0410-b5e6-96231b3b80d8
[Tsan] Fix the global_race tests to pass on FreeBSD
Differential Revision: http://reviews.llvm.org/D5668


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219398 91177308-0d34-0410-b5e6-96231b3b80d8
[Tsan] Fix the signal_errno.cc and signal_malloc.cc tests to pass on FreeBSD
Differential Revision: http://reviews.llvm.org/D5669


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