Loading...
--- dyld/dyld-1162/libdyld/threadLocalHelpers.s
+++ dyld/dyld-940/libdyld/threadLocalHelpers.s
@@ -20,11 +20,8 @@
*
* @APPLE_LICENSE_HEADER_END@
*/
-
-#include <TargetConditionals.h>
-#if !TARGET_OS_EXCLAVEKIT
- #include <System/machine/cpu_capabilities.h>
-#endif
+
+#include <System/machine/cpu_capabilities.h>
// bool save_xxm = (*((uint32_t*)_COMM_PAGE_CPU_CAPABILITIES) & kHasAVX1_0) != 0;
@@ -237,7 +234,6 @@
#else
ldr w16, [x0, #4] // get key from descriptor
#endif
-#if !TARGET_OS_EXCLAVEKIT
mrs x17, TPIDRRO_EL0
and x17, x17, #-8 // clear low 3 bits???
#if __LP64__
@@ -253,7 +249,6 @@
#endif
add x0, x17, x16 // return allocation+offset
ret lr
-#endif // !TARGET_OS_EXCLAVEKIT
LlazyAllocate:
#if __has_feature(ptrauth_returns)