Index: compiler-rt/test/tsan/cxa_guard_acquire.cpp =================================================================== --- compiler-rt/test/tsan/cxa_guard_acquire.cpp +++ compiler-rt/test/tsan/cxa_guard_acquire.cpp @@ -4,16 +4,10 @@ namespace __tsan { -#if (__APPLE__) -__attribute__((weak)) -#endif void OnPotentiallyBlockingRegionBegin() { printf("Enter __cxa_guard_acquire\n"); } -#if (__APPLE__) -__attribute__((weak)) -#endif void OnPotentiallyBlockingRegionEnd() { printf("Exit __cxa_guard_acquire\n"); } } // namespace __tsan Index: compiler-rt/test/tsan/default_options.cpp =================================================================== --- compiler-rt/test/tsan/default_options.cpp +++ compiler-rt/test/tsan/default_options.cpp @@ -2,9 +2,6 @@ #include #include -#if (__APPLE__) -__attribute__((weak)) -#endif extern "C" const char *__tsan_default_options() { return "report_bugs=0"; }