diff --git a/compiler-rt/lib/asan/asan_interface.inc b/compiler-rt/lib/asan/asan_interface.inc --- a/compiler-rt/lib/asan/asan_interface.inc +++ b/compiler-rt/lib/asan/asan_interface.inc @@ -181,7 +181,7 @@ INTERFACE_WEAK_FUNCTION(__asan_default_suppressions) INTERFACE_WEAK_FUNCTION(__asan_on_error) -#if defined(__x86_64__) +#if defined(__x86_64__) && !defined(__APPLE__) # define ASAN_MEMORY_ACCESS_CALLBACK_ADD(s, reg, op) \ INTERFACE_FUNCTION(__asan_check_##op##_add_##s##_##reg)