[compiler-rt] [sanitizer_common] Add arm64e module type (PR #166018)
Dan Blackwell via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 04:20:00 PST 2025
================
@@ -20,18 +20,21 @@
#include <mach/mach.h>
// These are not available in older macOS SDKs.
-#ifndef CPU_SUBTYPE_X86_64_H
-#define CPU_SUBTYPE_X86_64_H ((cpu_subtype_t)8) /* Haswell */
-#endif
-#ifndef CPU_SUBTYPE_ARM_V7S
-#define CPU_SUBTYPE_ARM_V7S ((cpu_subtype_t)11) /* Swift */
-#endif
-#ifndef CPU_SUBTYPE_ARM_V7K
-#define CPU_SUBTYPE_ARM_V7K ((cpu_subtype_t)12)
-#endif
-#ifndef CPU_TYPE_ARM64
-#define CPU_TYPE_ARM64 (CPU_TYPE_ARM | CPU_ARCH_ABI64)
-#endif
+# ifndef CPU_SUBTYPE_X86_64_H
----------------
DanBlackwell wrote:
Thanks for the formatting!
https://github.com/llvm/llvm-project/pull/166018
More information about the llvm-commits
mailing list