[asan] Disable wait4 test on Android.

https://code.google.com/p/memory-sanitizer/issues/detail?id=64


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217753 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix path in test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217754 91177308-0d34-0410-b5e6-96231b3b80d8
Port the variadic std::tr1::tuple hack for building gtest for MSVC2012 to ASAN tests.

Summary: This is copied from llvm/utils/unittest/CMakeLists.txt.

Test Plan: This partly enables building ASAN tests with MSVC2012.

Reviewers: timurrrr

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217762 91177308-0d34-0410-b5e6-96231b3b80d8
Avoid calling strtoll and atoll in asan_str_test.cc on Windows for now

Summary:
These two functions are unavailable on MSVC2012, which breaks building the
ASAN tests with MSVC2012.  Since the tests required to run these functions
are disabled on Windows for now, avoid building them to fix the MSVC2012
builds.

Test Plan: This is needed in order to fix building the ASAN tests with MSVC2012.

Reviewers: timurrrr

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217763 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Delay system log initialization on Android.

Writing to system log requires libc interceptors to be initialized.
Fixes crashes with verbosity=1 on newer Android builds.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217764 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix a flaky test.

This test has a chance to hit some other random allocation
and get neither heap overflow nor SEGV.

Relax test condition to only check that there is no internal CHECK failure.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217769 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix a comment in a test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217869 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] De-flake one test.

This change replaces an in-test timeout with an unconditional blocking wait.
It speeds up normal execution significantly at the cost of hanging up indefinitely
in case of a failure. This is a very specific regression test and we don't
expect any failures in the future.

Another approach ould be increasing the timeout to ~8 seconds, which seems too
much for a lit test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217870 91177308-0d34-0410-b5e6-96231b3b80d8
Merge branch 'master', remote-tracking branch 'trunk/master'