[ASan] Don't set rpath when building ASan runtime libraries.
This should fix the issues with `make check-asan` on OS X.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202144 91177308-0d34-0410-b5e6-96231b3b80d8
Update sanitizers' bash scripts.

* Fix bash scripts to work on FreeBSD (patch by Viktor Kutuzov)
* Update locations of lit tests in check_lint script.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202145 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Reenable waitid test on Android.

waitid() is present since API level 9 (Android 2.3). That's old enough.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202149 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] minimal support for recursive locks indeadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202153 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Remove extra sonames from libraries in tests.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202156 91177308-0d34-0410-b5e6-96231b3b80d8
Remove 'tctx->name' from a logical statement since it is a pointer and always
is converted to a true value.  Detected by Clang's improved -Wbool-conversion


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202223 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Introduce cmake_policy(CMP0022) for target_link_libraries(INTERFACE|PRIVATE).

For now, use both keywords, INTERFACE and PRIVATE via the variable,
  - ${cmake_2_8_12_INTERFACE}
  - ${cmake_2_8_12_PRIVATE}

They could be cleaned up when we introduce 2.8.12.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202239 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r201783 until all FreeBSD fixes are submitted.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202244 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Remove .sh extension from asan_device_setup.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202245 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] asan_device_setup: fix a typo in usage text


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202246 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Add a flag to enable/disable report colorization.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202249 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix printing of long reports to logcat on Android.

__android_log_write has an implicit message length limit.
Print one line at a time.



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