mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Apple Silicon] [In-process memory reader] Adjust low-bits computation for arm64 macOS
This commit is contained in:
@@ -147,7 +147,7 @@ static int PipeMemoryReader_queryDataLayout(void *Context,
|
||||
#else
|
||||
int applePlatform = 0;
|
||||
#endif
|
||||
#if defined(__APPLE__) && __APPLE__ && ((defined(TARGET_OS_IOS) && TARGET_OS_IOS) || (defined(TARGET_OS_IOS) && TARGET_OS_WATCH) || (defined(TARGET_OS_TV) && TARGET_OS_TV))
|
||||
#if defined(__APPLE__) && __APPLE__ && ((defined(TARGET_OS_IOS) && TARGET_OS_IOS) || (defined(TARGET_OS_IOS) && TARGET_OS_WATCH) || (defined(TARGET_OS_TV) && TARGET_OS_TV) || defined(__arm64__))
|
||||
int iosDerivedPlatform = 1;
|
||||
#else
|
||||
int iosDerivedPlatform = 0;
|
||||
|
||||
Reference in New Issue
Block a user