[asan] Fix CMake CMP0046 warning in standalone build.

Make FileCheck an "imported dependency" in standalone build.


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

It's not failing anymore. Not sure what has changed (the bot was down for a
long time), but lets keep it this way.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222236 91177308-0d34-0410-b5e6-96231b3b80d8
profile: Robustify instrprof tests

Change these tests not to rely on the exact metadata numbers the
profile data gets.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222279 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] initial support for experimental basic-block tracing; also add tests for various levels of -fsanitize-coverage 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222291 91177308-0d34-0410-b5e6-96231b3b80d8
Make the ASan OS X DYLD_INSERT_LIBRARIES detection path-independent

Reviewed at http://reviews.llvm.org/D6238

ASan on Darwin during launch reads DYLD_INSERT_LIBRARIES env. variable and if it's not set or if the ASan dylib is not present in there, it relaunches the process. The check whether the dylib is present in the variable is now trying to find a full path in there. This fails in the scenarios where we want to copy the dylib to the executable's directory or somewhere else and set the DYLD_INSERT_LIBRARIES manually, see http://reviews.llvm.org/D6018.

Let's change the search in DYLD_INSERT_LIBRARIES to only look for the filename of the dylib and not the full path.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222297 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix Go build



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222342 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: don't add -pie when compiling tests
driver should add it as necessary



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222343 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: exclude unsupported test from test_output.sh script



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222344 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix binary names in tests
test_output.sh produces source.cc.exe binaries



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