I noticed that several testcases in the test/asan/TestCases/Linux/ directory are not really Linux specific. The following tests from the Linux directory pass on OS X 10.10:
- glob.cc
- glob_test_root
- heap-overflow-large.cc
- heavy_uar_test.cc
- interception_failure_test.cc
- new_array_cookie_test.cc
- new_array_cookie_uaf_test.cc
- new_array_cookie_with_new_from_class.cc
- tsd_dtor_leak.cc
Let's move them one directory up, so they are run on other platforms as well.
This test should go to TestCases/Posix. Sooner or later we'll start to run tests from TestCases on Windows.