tsan: improve deadlock detector test
- allow to specify which test to run
- allow to specify number of iterations
- specify number of threads required in the test itself



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202358 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Don't disable SEGV handler on Android by default.

This is done mostly for consistency, because this setting is normally overridden in cmake.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202359 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add recursive deadlock detector benchmark



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202361 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Install asan_device_setup to bin/ when targetting Android.

asan_device_setup is a utility that prepares a device to run code built with
ASan. Essentially, it installs ASan runtime library into the system. For this
reason, it has to be at a predictable relative path from the runtime library
itself. We also plan to distribute this utility, packaged with runtime library
and maybe llvm-symbolizer, to the users.


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