Index: lib/sanitizer_common/sanitizer_platform_interceptors.h =================================================================== --- lib/sanitizer_common/sanitizer_platform_interceptors.h +++ lib/sanitizer_common/sanitizer_platform_interceptors.h @@ -274,7 +274,9 @@ #define SANITIZER_INTERCEPT_AEABI_MEM 0 #endif #define SANITIZER_INTERCEPT___BZERO SI_MAC -#define SANITIZER_INTERCEPT_BZERO SI_LINUX || SI_FREEBSD || SI_MAC +// TODO(kuba.brecka): Add SI_MAC when strncpy on Darwin supports bzero +// interceptors. https://reviews.llvm.org/D27659. +#define SANITIZER_INTERCEPT_BZERO SI_LINUX || SI_FREEBSD #define SANITIZER_INTERCEPT_BCOPY SI_LINUX || SI_FREEBSD || SI_MAC #define SANITIZER_INTERCEPT_BCMP SI_LINUX || SI_FREEBSD || SI_MAC #define SANITIZER_INTERCEPT_FTIME !SI_FREEBSD && SI_NOT_WINDOWS