[compiler-rt] af0a26b - [Sanitizers][Darwin] Remove SANITIZER_MAC
Mariusz Borsa via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 12 09:11:26 PDT 2022
Author: Mariusz Borsa
Date: 2022-07-12T09:11:17-07:00
New Revision: af0a26b476617af8d56d201a861bdece9c888434
URL: https://github.com/llvm/llvm-project/commit/af0a26b476617af8d56d201a861bdece9c888434
DIFF: https://github.com/llvm/llvm-project/commit/af0a26b476617af8d56d201a861bdece9c888434.diff
LOG: [Sanitizers][Darwin] Remove SANITIZER_MAC
This is to finish the change started by D125816 , D126263 and D126577 (replace SANITIZER_MAC by SANITIZER_APPLE).
Dropping definition of SANITIZER_MAC completely, to remove any possible confusion.
Differential Revision: https://reviews.llvm.org/D129502
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_platform.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
index 83a64b734512c..4d89ecaf10719 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
@@ -64,9 +64,6 @@
// - SANITIZER_DRIVERKIT
#if defined(__APPLE__)
# define SANITIZER_APPLE 1
-// SANITIZER_MAC will be deprecated/removed in the future
-# define SANITIZER_MAC \
- error "SANITIZER_MAC will be removed, please use SANITIZER_APPLE"
# include <TargetConditionals.h>
# if TARGET_OS_OSX
# define SANITIZER_OSX 1
@@ -100,8 +97,6 @@
# endif
#else
# define SANITIZER_APPLE 0
-# define SANITIZER_MAC \
- error "SANITIZER_MAC will be removed, please use SANITIZER_APPLE"
# define SANITIZER_OSX 0
# define SANITIZER_IOS 0
# define SANITIZER_WATCHOS 0
More information about the llvm-commits
mailing list