Title: [283211] trunk/Source/WTF
- Revision
- 283211
- Author
- [email protected]
- Date
- 2021-09-28 23:23:31 -0700 (Tue, 28 Sep 2021)
Log Message
iOS simulator build should use PTHREAD_JIT_PERMISSIONS_API
https://bugs.webkit.org/show_bug.cgi?id=230920
rdar://77494871
Reviewed by Filip Pizlo.
In AppleSilicon macOS, we should use PTHREAD_JIT_PERMISSIONS_API for OSS build.
However, we are not enabling that for iOS simulator build. This patch enables that.
This API exists after iOS 14.0 SDK.
* wtf/PlatformUse.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (283210 => 283211)
--- trunk/Source/WTF/ChangeLog 2021-09-29 04:52:27 UTC (rev 283210)
+++ trunk/Source/WTF/ChangeLog 2021-09-29 06:23:31 UTC (rev 283211)
@@ -1,3 +1,17 @@
+2021-09-28 Yusuke Suzuki <[email protected]>
+
+ iOS simulator build should use PTHREAD_JIT_PERMISSIONS_API
+ https://bugs.webkit.org/show_bug.cgi?id=230920
+ rdar://77494871
+
+ Reviewed by Filip Pizlo.
+
+ In AppleSilicon macOS, we should use PTHREAD_JIT_PERMISSIONS_API for OSS build.
+ However, we are not enabling that for iOS simulator build. This patch enables that.
+ This API exists after iOS 14.0 SDK.
+
+ * wtf/PlatformUse.h:
+
2021-09-28 Alex Christensen <[email protected]>
Mostly fix Mac CMake build
Modified: trunk/Source/WTF/wtf/PlatformUse.h (283210 => 283211)
--- trunk/Source/WTF/wtf/PlatformUse.h 2021-09-29 04:52:27 UTC (rev 283210)
+++ trunk/Source/WTF/wtf/PlatformUse.h 2021-09-29 06:23:31 UTC (rev 283211)
@@ -327,7 +327,10 @@
#endif
#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000) \
- || (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000)
+ || (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) \
+ || (PLATFORM(IOS) && PLATFORM(IOS_FAMILY_SIMULATOR) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) \
+ || (PLATFORM(WATCHOS) && PLATFORM(IOS_FAMILY_SIMULATOR) && __WATCH_OS_VERSION_MIN_REQUIRED >= 70000) \
+ || (PLATFORM(APPLETV) && PLATFORM(IOS_FAMILY_SIMULATOR) && __TV_OS_VERSION_MIN_REQUIRED >= 140000)
#if USE(APPLE_INTERNAL_SDK)
/* Always use the macro on internal builds */
#define USE_PTHREAD_JIT_PERMISSIONS_API 0
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes