We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c20198 commit 17833beCopy full SHA for 17833be
stdlib/public/runtime/Private.h
@@ -103,7 +103,8 @@ class TypeInfo {
103
// value here.
104
# define SWIFT_ISA_MASK 0xfffffffffffffff8ULL
105
# elif __arm64__
106
-# if __has_feature(ptrauth_calls)
+// ARM64 simulators always use the ARM64e mask.
107
+# if __has_feature(ptrauth_calls) || TARGET_OS_SIMULATOR
108
# define SWIFT_ISA_MASK 0x007ffffffffffff8ULL
109
# else
110
# if TARGET_OS_OSX
0 commit comments