Index: lib/asan/tests/asan_test_main.cc =================================================================== --- lib/asan/tests/asan_test_main.cc +++ lib/asan/tests/asan_test_main.cc @@ -28,7 +28,11 @@ namespace __sanitizer { bool ReexecDisabled() { +#if __has_feature(address_sanitizer) + return false; // Allow re-exec in instrumented unit tests. +#else return true; +#endif } }