diff --git a/.gitignore b/.gitignore index b9d9e6f..f40f19b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,9 @@ -# Byte compiled Python modules. +__pycache__ *.pyc - -# Finder metadata .DS_Store - -# vim swap files .*.sw? - -# Generated files from SPM and Xcode. /.build /.swiftpm +xcuserdata/ +/*.xcodeproj +.docc-build diff --git a/Sources/Atomics/Unmanaged extensions.swift b/Sources/Atomics/Unmanaged extensions.swift index caf386c..4ae0f8b 100644 --- a/Sources/Atomics/Unmanaged extensions.swift +++ b/Sources/Atomics/Unmanaged extensions.swift @@ -13,7 +13,9 @@ #if ATOMICS_NATIVE_BUILTINS import Swift #endif +#if !ATOMICS_SINGLE_MODULE import _AtomicsShims +#endif extension Unmanaged { internal func retain(by delta: Int) { diff --git a/Sources/_AtomicsShims/include/_AtomicsShims.h b/Sources/_AtomicsShims/include/_AtomicsShims.h index 71be6c4..e720fde 100644 --- a/Sources/_AtomicsShims/include/_AtomicsShims.h +++ b/Sources/_AtomicsShims/include/_AtomicsShims.h @@ -17,6 +17,20 @@ #include #include +#define SWIFTATOMIC_INLINE static inline __attribute__((__always_inline__)) +#define SWIFTATOMIC_SWIFT_NAME(name) __attribute__((swift_name(#name))) +#define SWIFTATOMIC_ALIGNED(alignment) __attribute__((aligned(alignment))) + +#if ATOMICS_SINGLE_MODULE +# if __has_attribute(visibility) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_WIN32) +# define SWIFTATOMIC_SHIMS_EXPORT __attribute__((visibility("hidden"))) +# else +# define SWIFTATOMIC_SHIMS_EXPORT +# endif +#else +# define SWIFTATOMIC_SHIMS_EXPORT extern +#endif + // Swift-importable shims for C atomics. // // Swift cannot import C's atomic types or any operations over them, so we need @@ -38,10 +52,6 @@ #if !defined(ATOMICS_NATIVE_BUILTINS) && defined(__swift__) # include -#define SWIFTATOMIC_INLINE static inline __attribute__((__always_inline__)) -#define SWIFTATOMIC_SWIFT_NAME(name) __attribute__((swift_name(#name))) -#define SWIFTATOMIC_ALIGNED(alignment) __attribute__((aligned(alignment))) - // Atomic fences #define SWIFTATOMIC_THREAD_FENCE_FN(order) \ SWIFTATOMIC_INLINE void _sa_thread_fence_##order(void) \ @@ -218,7 +228,7 @@ SWIFTATOMIC_DEFINE_TYPE(DoubleWord, _sa_dword) #endif //!defined(ATOMICS_NATIVE_BUILTINS) && defined(__swift__) -extern void _sa_retain_n(void *object, uint32_t n); -extern void _sa_release_n(void *object, uint32_t n); +SWIFTATOMIC_SHIMS_EXPORT void _sa_retain_n(void *object, uint32_t n); +SWIFTATOMIC_SHIMS_EXPORT void _sa_release_n(void *object, uint32_t n); #endif //SWIFTATOMIC_HEADER_INCLUDED diff --git a/Xcode/Atomics.xcconfig b/Xcode/Atomics.xcconfig new file mode 100644 index 0000000..a8aa456 --- /dev/null +++ b/Xcode/Atomics.xcconfig @@ -0,0 +1,49 @@ +//===----------------------------------------------------------------------===// +// +// This source file is part of the Swift Atomics open source project +// +// Copyright (c) 2023 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See https://swift.org/LICENSE.txt for license information +// +//===----------------------------------------------------------------------===// + +PRODUCT_NAME = Atomics +PRODUCT_BUNDLE_IDENTIFIER = org.swift.Atomics + +SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator +ARCHS = $(ARCHS_STANDARD) + +MACOSX_DEPLOYMENT_TARGET = 12.0 +IPHONEOS_DEPLOYMENT_TARGET = 15.0 +WATCHOS_DEPLOYMENT_TARGET = 8.0 +TVOS_DEPLOYMENT_TARGET = 15.0 + +MARKETING_VERSION = 1.1 + +CURRENT_PROJECT_VERSION = 1 +VERSIONING_SYSTEM = apple-generic +VERSION_INFO_PREFIX = +DYLIB_COMPATIBILITY_VERSION = $(CURRENT_PROJECT_VERSION) +DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION) + +SWIFT_OBJC_BRIDGING_HEADER = ../Sources/_AtomicsShims/include/_AtomicsShims.h +OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -parse-stdlib +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) ATOMICS_SINGLE_MODULE=1 ATOMICS_NATIVE_BUILTINS=1 + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks +SKIP_INSTALL = YES +DYLIB_INSTALL_NAME_BASE = @rpath +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/Frameworks + +ENABLE_TESTABILITY = NO +ENABLE_TESTABILITY[config=Debug] = YES + +GENERATE_INFOPLIST_FILE = YES +CODE_SIGN_STYLE = Automatic + +DEFINES_MODULE = YES +ENABLE_MODULE_VERIFIER = YES +MODULE_VERIFIER_SUPPORTED_LANGUAGES = objective-c objective-c++ +MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = gnu11 gnu++20 diff --git a/Xcode/Atomics.xcodeproj/project.pbxproj b/Xcode/Atomics.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7c76922 --- /dev/null +++ b/Xcode/Atomics.xcodeproj/project.pbxproj @@ -0,0 +1,732 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 7D489E4829CE969D00499B21 /* Atomics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7D489E3F29CE969D00499B21 /* Atomics.framework */; }; + 7D489EDB29CE96DA00499B21 /* AtomicStrongReference.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E5A29CE96D900499B21 /* AtomicStrongReference.swift */; }; + 7D489EDC29CE96DA00499B21 /* AtomicInteger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E5B29CE96D900499B21 /* AtomicInteger.swift */; }; + 7D489EDF29CE96DA00499B21 /* AtomicOptionalRawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E5E29CE96D900499B21 /* AtomicOptionalRawRepresentable.swift */; }; + 7D489EE029CE96DA00499B21 /* AtomicValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E5F29CE96D900499B21 /* AtomicValue.swift */; }; + 7D489EE329CE96DA00499B21 /* AtomicRawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6229CE96D900499B21 /* AtomicRawRepresentable.swift */; }; + 7D489EE429CE96DA00499B21 /* DoubleWord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6329CE96D900499B21 /* DoubleWord.swift */; }; + 7D489EE629CE96DA00499B21 /* Unmanaged extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6529CE96D900499B21 /* Unmanaged extensions.swift */; }; + 7D489EE829CE96DA00499B21 /* AtomicOptional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6729CE96D900499B21 /* AtomicOptional.swift */; }; + 7D489EEA29CE96DA00499B21 /* AtomicMemoryOrderings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6929CE96D900499B21 /* AtomicMemoryOrderings.swift */; }; + 7D489EED29CE96DA00499B21 /* AtomicLazyReference.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6D29CE96D900499B21 /* AtomicLazyReference.swift */; }; + 7D489EEE29CE96DA00499B21 /* IntegerConformances.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6E29CE96D900499B21 /* IntegerConformances.swift */; }; + 7D489EEF29CE96DA00499B21 /* PointerConformances.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E6F29CE96D900499B21 /* PointerConformances.swift */; }; + 7D489EF029CE96DA00499B21 /* Primitives.native.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E7029CE96D900499B21 /* Primitives.native.swift */; }; + 7D489EF129CE96DA00499B21 /* Primitives.shims.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E7129CE96D900499B21 /* Primitives.shims.swift */; }; + 7D489EF229CE96DA00499B21 /* AtomicBool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E7229CE96D900499B21 /* AtomicBool.swift */; }; + 7D489EF329CE96DA00499B21 /* HighLevelTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E7329CE96D900499B21 /* HighLevelTypes.swift */; }; + 7D489EF529CE96DA00499B21 /* _AtomicsShims.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D489E7729CE96D900499B21 /* _AtomicsShims.h */; }; + 7D489EF629CE96DA00499B21 /* _AtomicsShims.c in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E7A29CE96D900499B21 /* _AtomicsShims.c */; }; + 7D489F4A29CE976800499B21 /* StrongReferenceShuffle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EBC29CE96DA00499B21 /* StrongReferenceShuffle.swift */; }; + 7D489F4B29CE976800499B21 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EBD29CE96DA00499B21 /* main.swift */; }; + 7D489F4C29CE976800499B21 /* LockFreeSingleConsumerStack.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB929CE96DA00499B21 /* LockFreeSingleConsumerStack.swift */; }; + 7D489F4D29CE976800499B21 /* StrongReferenceSubclass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB729CE96DA00499B21 /* StrongReferenceSubclass.swift */; }; + 7D489F4E29CE976800499B21 /* LifetimeTracked.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB629CE96DA00499B21 /* LifetimeTracked.swift */; }; + 7D489F4F29CE976800499B21 /* DoubleWord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EBB29CE96DA00499B21 /* DoubleWord.swift */; }; + 7D489F5029CE976800499B21 /* StrongReferenceRace.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB829CE96DA00499B21 /* StrongReferenceRace.swift */; }; + 7D489F5129CE976800499B21 /* LockFreeQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EBA29CE96DA00499B21 /* LockFreeQueue.swift */; }; + 7D489F5229CE976B00499B21 /* AtomicLazyReference.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E7D29CE96D900499B21 /* AtomicLazyReference.swift */; }; + 7D489F5329CE977200499B21 /* BasicTestSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E8729CE96D900499B21 /* BasicTestSupport.swift */; }; + 7D489F5429CE978100499B21 /* BasicAtomicInt16Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EAA29CE96DA00499B21 /* BasicAtomicInt16Tests.swift */; }; + 7D489F5529CE978100499B21 /* BasicAtomicMutablePointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E9F29CE96D900499B21 /* BasicAtomicMutablePointerTests.swift */; }; + 7D489F5629CE978100499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EAF29CE96DA00499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift */; }; + 7D489F5729CE978100499B21 /* BasicAtomicOptionalPointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EAB29CE96DA00499B21 /* BasicAtomicOptionalPointerTests.swift */; }; + 7D489F5829CE978100499B21 /* BasicAtomicOptionalMutablePointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E9D29CE96D900499B21 /* BasicAtomicOptionalMutablePointerTests.swift */; }; + 7D489F5929CE978100499B21 /* BasicAtomicRawPointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA029CE96DA00499B21 /* BasicAtomicRawPointerTests.swift */; }; + 7D489F5A29CE978100499B21 /* BasicAtomicMutableRawPointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB529CE96DA00499B21 /* BasicAtomicMutableRawPointerTests.swift */; }; + 7D489F5B29CE978100499B21 /* BasicAtomicUInt64Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA829CE96DA00499B21 /* BasicAtomicUInt64Tests.swift */; }; + 7D489F5C29CE978100499B21 /* BasicAtomicUInt32Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EAC29CE96DA00499B21 /* BasicAtomicUInt32Tests.swift */; }; + 7D489F5D29CE978100499B21 /* BasicAtomicBoolTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA229CE96DA00499B21 /* BasicAtomicBoolTests.swift */; }; + 7D489F5E29CE978100499B21 /* BasicAtomicOptionalUnmanagedTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA729CE96DA00499B21 /* BasicAtomicOptionalUnmanagedTests.swift */; }; + 7D489F5F29CE978100499B21 /* BasicAtomicOptionalRawPointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EAE29CE96DA00499B21 /* BasicAtomicOptionalRawPointerTests.swift */; }; + 7D489F6029CE978100499B21 /* BasicAtomicUInt16Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB229CE96DA00499B21 /* BasicAtomicUInt16Tests.swift */; }; + 7D489F6129CE978100499B21 /* BasicAtomicInt32Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB329CE96DA00499B21 /* BasicAtomicInt32Tests.swift */; }; + 7D489F6229CE978100499B21 /* BasicAtomicUIntTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB429CE96DA00499B21 /* BasicAtomicUIntTests.swift */; }; + 7D489F6329CE978100499B21 /* BasicAtomicInt64Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E9E29CE96D900499B21 /* BasicAtomicInt64Tests.swift */; }; + 7D489F6429CE978100499B21 /* BasicAtomicReferenceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA329CE96DA00499B21 /* BasicAtomicReferenceTests.swift */; }; + 7D489F6529CE978100499B21 /* BasicAtomicInt8Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489E9C29CE96D900499B21 /* BasicAtomicInt8Tests.swift */; }; + 7D489F6629CE978100499B21 /* BasicAtomicDoubleWordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB029CE96DA00499B21 /* BasicAtomicDoubleWordTests.swift */; }; + 7D489F6729CE978100499B21 /* BasicAtomicPointerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EB129CE96DA00499B21 /* BasicAtomicPointerTests.swift */; }; + 7D489F6829CE978100499B21 /* BasicAtomicOptionalRawRepresentableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EAD29CE96DA00499B21 /* BasicAtomicOptionalRawRepresentableTests.swift */; }; + 7D489F6929CE978100499B21 /* BasicAtomicIntTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA529CE96DA00499B21 /* BasicAtomicIntTests.swift */; }; + 7D489F6A29CE978100499B21 /* BasicAtomicUInt8Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA929CE96DA00499B21 /* BasicAtomicUInt8Tests.swift */; }; + 7D489F6B29CE978100499B21 /* BasicAtomicOptionalReferenceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA629CE96DA00499B21 /* BasicAtomicOptionalReferenceTests.swift */; }; + 7D489F6C29CE978100499B21 /* BasicAtomicUnmanagedTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA129CE96DA00499B21 /* BasicAtomicUnmanagedTests.swift */; }; + 7D489F6D29CE978100499B21 /* BasicAtomicRawRepresentableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D489EA429CE96DA00499B21 /* BasicAtomicRawRepresentableTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 7D489E4929CE969D00499B21 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 7D489E3629CE969D00499B21 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7D489E3E29CE969D00499B21; + remoteInfo = Atomics; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 7D489E3F29CE969D00499B21 /* Atomics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Atomics.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7D489E4729CE969D00499B21 /* AtomicsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AtomicsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 7D489E5829CE96D900499B21 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; + 7D489E5A29CE96D900499B21 /* AtomicStrongReference.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicStrongReference.swift; sourceTree = ""; }; + 7D489E5B29CE96D900499B21 /* AtomicInteger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicInteger.swift; sourceTree = ""; }; + 7D489E5C29CE96D900499B21 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; + 7D489E5D29CE96D900499B21 /* AtomicLazyReference.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AtomicLazyReference.swift.gyb; sourceTree = ""; }; + 7D489E5E29CE96D900499B21 /* AtomicOptionalRawRepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicOptionalRawRepresentable.swift; sourceTree = ""; }; + 7D489E5F29CE96D900499B21 /* AtomicValue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicValue.swift; sourceTree = ""; }; + 7D489E6029CE96D900499B21 /* Primitives.shims.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Primitives.shims.swift.gyb; sourceTree = ""; }; + 7D489E6129CE96D900499B21 /* AtomicBool.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AtomicBool.swift.gyb; sourceTree = ""; }; + 7D489E6229CE96D900499B21 /* AtomicRawRepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicRawRepresentable.swift; sourceTree = ""; }; + 7D489E6329CE96D900499B21 /* DoubleWord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DoubleWord.swift; sourceTree = ""; }; + 7D489E6429CE96D900499B21 /* HighLevelTypes.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HighLevelTypes.swift.gyb; sourceTree = ""; }; + 7D489E6529CE96D900499B21 /* Unmanaged extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Unmanaged extensions.swift"; sourceTree = ""; }; + 7D489E6629CE96D900499B21 /* PointerConformances.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = PointerConformances.swift.gyb; sourceTree = ""; }; + 7D489E6729CE96D900499B21 /* AtomicOptional.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicOptional.swift; sourceTree = ""; }; + 7D489E6829CE96D900499B21 /* Primitives.native.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Primitives.native.swift.gyb; sourceTree = ""; }; + 7D489E6929CE96D900499B21 /* AtomicMemoryOrderings.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicMemoryOrderings.swift; sourceTree = ""; }; + 7D489E6A29CE96D900499B21 /* Atomics.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Atomics.docc; sourceTree = ""; }; + 7D489E6B29CE96D900499B21 /* IntegerConformances.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = IntegerConformances.swift.gyb; sourceTree = ""; }; + 7D489E6D29CE96D900499B21 /* AtomicLazyReference.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicLazyReference.swift; sourceTree = ""; }; + 7D489E6E29CE96D900499B21 /* IntegerConformances.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IntegerConformances.swift; sourceTree = ""; }; + 7D489E6F29CE96D900499B21 /* PointerConformances.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PointerConformances.swift; sourceTree = ""; }; + 7D489E7029CE96D900499B21 /* Primitives.native.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Primitives.native.swift; sourceTree = ""; }; + 7D489E7129CE96D900499B21 /* Primitives.shims.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Primitives.shims.swift; sourceTree = ""; }; + 7D489E7229CE96D900499B21 /* AtomicBool.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicBool.swift; sourceTree = ""; }; + 7D489E7329CE96D900499B21 /* HighLevelTypes.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HighLevelTypes.swift; sourceTree = ""; }; + 7D489E7529CE96D900499B21 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; + 7D489E7729CE96D900499B21 /* _AtomicsShims.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _AtomicsShims.h; sourceTree = ""; }; + 7D489E7829CE96D900499B21 /* module.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = ""; }; + 7D489E7A29CE96D900499B21 /* _AtomicsShims.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = _AtomicsShims.c; sourceTree = ""; }; + 7D489E7D29CE96D900499B21 /* AtomicLazyReference.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicLazyReference.swift; sourceTree = ""; }; + 7D489E7F29CE96D900499B21 /* BasicAtomicIntTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicIntTests.swift.gyb; sourceTree = ""; }; + 7D489E8029CE96D900499B21 /* BasicAtomicUInt8Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicUInt8Tests.swift.gyb; sourceTree = ""; }; + 7D489E8129CE96D900499B21 /* BasicTests.gyb-template */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "BasicTests.gyb-template"; sourceTree = ""; }; + 7D489E8229CE96D900499B21 /* BasicAtomicInt32Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicInt32Tests.swift.gyb; sourceTree = ""; }; + 7D489E8329CE96D900499B21 /* BasicAtomicPointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicPointerTests.swift.gyb; sourceTree = ""; }; + 7D489E8429CE96D900499B21 /* BasicAtomicInt8Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicInt8Tests.swift.gyb; sourceTree = ""; }; + 7D489E8529CE96D900499B21 /* BasicAtomicOptionalPointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalPointerTests.swift.gyb; sourceTree = ""; }; + 7D489E8629CE96D900499B21 /* BasicAtomicBoolTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicBoolTests.swift.gyb; sourceTree = ""; }; + 7D489E8729CE96D900499B21 /* BasicTestSupport.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicTestSupport.swift; sourceTree = ""; }; + 7D489E8829CE96D900499B21 /* BasicAtomicMutableRawPointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicMutableRawPointerTests.swift.gyb; sourceTree = ""; }; + 7D489E8929CE96D900499B21 /* BasicAtomicMutablePointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicMutablePointerTests.swift.gyb; sourceTree = ""; }; + 7D489E8A29CE96D900499B21 /* BasicAtomicUInt32Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicUInt32Tests.swift.gyb; sourceTree = ""; }; + 7D489E8B29CE96D900499B21 /* BasicAtomicOptionalRawPointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalRawPointerTests.swift.gyb; sourceTree = ""; }; + 7D489E8C29CE96D900499B21 /* BasicAtomicDoubleWordTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicDoubleWordTests.swift.gyb; sourceTree = ""; }; + 7D489E8D29CE96D900499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalMutableRawPointerTests.swift.gyb; sourceTree = ""; }; + 7D489E8E29CE96D900499B21 /* BasicAtomicReferenceTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicReferenceTests.swift.gyb; sourceTree = ""; }; + 7D489E8F29CE96D900499B21 /* BasicAtomicUInt64Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicUInt64Tests.swift.gyb; sourceTree = ""; }; + 7D489E9029CE96D900499B21 /* BasicAtomicOptionalUnmanagedTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalUnmanagedTests.swift.gyb; sourceTree = ""; }; + 7D489E9129CE96D900499B21 /* BasicAtomicOptionalMutablePointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalMutablePointerTests.swift.gyb; sourceTree = ""; }; + 7D489E9229CE96D900499B21 /* BasicAtomicInt16Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicInt16Tests.swift.gyb; sourceTree = ""; }; + 7D489E9329CE96D900499B21 /* BasicAtomicOptionalRawRepresentableTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalRawRepresentableTests.swift.gyb; sourceTree = ""; }; + 7D489E9429CE96D900499B21 /* BasicAtomicRawRepresentableTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicRawRepresentableTests.swift.gyb; sourceTree = ""; }; + 7D489E9529CE96D900499B21 /* BasicAtomicRawPointerTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicRawPointerTests.swift.gyb; sourceTree = ""; }; + 7D489E9629CE96D900499B21 /* BasicAtomicUIntTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicUIntTests.swift.gyb; sourceTree = ""; }; + 7D489E9729CE96D900499B21 /* BasicAtomicUnmanagedTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicUnmanagedTests.swift.gyb; sourceTree = ""; }; + 7D489E9829CE96D900499B21 /* BasicAtomicOptionalReferenceTests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicOptionalReferenceTests.swift.gyb; sourceTree = ""; }; + 7D489E9929CE96D900499B21 /* BasicAtomicInt64Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicInt64Tests.swift.gyb; sourceTree = ""; }; + 7D489E9A29CE96D900499B21 /* BasicAtomicUInt16Tests.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BasicAtomicUInt16Tests.swift.gyb; sourceTree = ""; }; + 7D489E9C29CE96D900499B21 /* BasicAtomicInt8Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicInt8Tests.swift; sourceTree = ""; }; + 7D489E9D29CE96D900499B21 /* BasicAtomicOptionalMutablePointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalMutablePointerTests.swift; sourceTree = ""; }; + 7D489E9E29CE96D900499B21 /* BasicAtomicInt64Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicInt64Tests.swift; sourceTree = ""; }; + 7D489E9F29CE96D900499B21 /* BasicAtomicMutablePointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicMutablePointerTests.swift; sourceTree = ""; }; + 7D489EA029CE96DA00499B21 /* BasicAtomicRawPointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicRawPointerTests.swift; sourceTree = ""; }; + 7D489EA129CE96DA00499B21 /* BasicAtomicUnmanagedTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicUnmanagedTests.swift; sourceTree = ""; }; + 7D489EA229CE96DA00499B21 /* BasicAtomicBoolTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicBoolTests.swift; sourceTree = ""; }; + 7D489EA329CE96DA00499B21 /* BasicAtomicReferenceTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicReferenceTests.swift; sourceTree = ""; }; + 7D489EA429CE96DA00499B21 /* BasicAtomicRawRepresentableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicRawRepresentableTests.swift; sourceTree = ""; }; + 7D489EA529CE96DA00499B21 /* BasicAtomicIntTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicIntTests.swift; sourceTree = ""; }; + 7D489EA629CE96DA00499B21 /* BasicAtomicOptionalReferenceTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalReferenceTests.swift; sourceTree = ""; }; + 7D489EA729CE96DA00499B21 /* BasicAtomicOptionalUnmanagedTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalUnmanagedTests.swift; sourceTree = ""; }; + 7D489EA829CE96DA00499B21 /* BasicAtomicUInt64Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicUInt64Tests.swift; sourceTree = ""; }; + 7D489EA929CE96DA00499B21 /* BasicAtomicUInt8Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicUInt8Tests.swift; sourceTree = ""; }; + 7D489EAA29CE96DA00499B21 /* BasicAtomicInt16Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicInt16Tests.swift; sourceTree = ""; }; + 7D489EAB29CE96DA00499B21 /* BasicAtomicOptionalPointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalPointerTests.swift; sourceTree = ""; }; + 7D489EAC29CE96DA00499B21 /* BasicAtomicUInt32Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicUInt32Tests.swift; sourceTree = ""; }; + 7D489EAD29CE96DA00499B21 /* BasicAtomicOptionalRawRepresentableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalRawRepresentableTests.swift; sourceTree = ""; }; + 7D489EAE29CE96DA00499B21 /* BasicAtomicOptionalRawPointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalRawPointerTests.swift; sourceTree = ""; }; + 7D489EAF29CE96DA00499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicOptionalMutableRawPointerTests.swift; sourceTree = ""; }; + 7D489EB029CE96DA00499B21 /* BasicAtomicDoubleWordTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicDoubleWordTests.swift; sourceTree = ""; }; + 7D489EB129CE96DA00499B21 /* BasicAtomicPointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicPointerTests.swift; sourceTree = ""; }; + 7D489EB229CE96DA00499B21 /* BasicAtomicUInt16Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicUInt16Tests.swift; sourceTree = ""; }; + 7D489EB329CE96DA00499B21 /* BasicAtomicInt32Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicInt32Tests.swift; sourceTree = ""; }; + 7D489EB429CE96DA00499B21 /* BasicAtomicUIntTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicUIntTests.swift; sourceTree = ""; }; + 7D489EB529CE96DA00499B21 /* BasicAtomicMutableRawPointerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BasicAtomicMutableRawPointerTests.swift; sourceTree = ""; }; + 7D489EB629CE96DA00499B21 /* LifetimeTracked.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LifetimeTracked.swift; sourceTree = ""; }; + 7D489EB729CE96DA00499B21 /* StrongReferenceSubclass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StrongReferenceSubclass.swift; sourceTree = ""; }; + 7D489EB829CE96DA00499B21 /* StrongReferenceRace.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StrongReferenceRace.swift; sourceTree = ""; }; + 7D489EB929CE96DA00499B21 /* LockFreeSingleConsumerStack.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockFreeSingleConsumerStack.swift; sourceTree = ""; }; + 7D489EBA29CE96DA00499B21 /* LockFreeQueue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LockFreeQueue.swift; sourceTree = ""; }; + 7D489EBB29CE96DA00499B21 /* DoubleWord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DoubleWord.swift; sourceTree = ""; }; + 7D489EBC29CE96DA00499B21 /* StrongReferenceShuffle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StrongReferenceShuffle.swift; sourceTree = ""; }; + 7D489EBD29CE96DA00499B21 /* main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; + 7D489EBE29CE96DA00499B21 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; + 7D489EC029CE96DA00499B21 /* UnsafeAtomicInitializers.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = UnsafeAtomicInitializers.swift.gyb; sourceTree = ""; }; + 7D489EC129CE96DA00499B21 /* AtomicsFolding.swift.gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AtomicsFolding.swift.gyb; sourceTree = ""; }; + 7D489EC329CE96DA00499B21 /* UnsafeAtomicInitializers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UnsafeAtomicInitializers.swift; sourceTree = ""; }; + 7D489EC429CE96DA00499B21 /* AtomicsFolding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AtomicsFolding.swift; sourceTree = ""; }; + 7D489EC529CE96DA00499B21 /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Package.swift; path = ../Package.swift; sourceTree = ""; }; + 7D489EC629CE96DA00499B21 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = ../CMakeLists.txt; sourceTree = ""; }; + 7D489EC829CE96DA00499B21 /* gyb.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = gyb.py; sourceTree = ""; }; + 7D489EC929CE96DA00499B21 /* run-full-tests.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "run-full-tests.sh"; sourceTree = ""; }; + 7D489ECD29CE96DA00499B21 /* gyb_utils.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = gyb_utils.py; sourceTree = ""; }; + 7D489ECE29CE96DA00499B21 /* gyb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = gyb; sourceTree = ""; }; + 7D489ECF29CE96DA00499B21 /* generate-sources.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "generate-sources.sh"; sourceTree = ""; }; + 7D489ED029CE96DA00499B21 /* generate-docs.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "generate-docs.sh"; sourceTree = ""; }; + 7D489ED129CE96DA00499B21 /* LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = LICENSE.txt; path = ../LICENSE.txt; sourceTree = ""; }; + 7D489ED329CE96DA00499B21 /* Atomics.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = Atomics.xcodeproj; sourceTree = ""; }; + 7D489ED629CE96DA00499B21 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 7D489ED729CE96DA00499B21 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; + 7D489ED829CE96DA00499B21 /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTING.md; path = ../CONTRIBUTING.md; sourceTree = ""; }; + 7D489ED929CE96DA00499B21 /* CODE_OF_CONDUCT.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CODE_OF_CONDUCT.md; path = ../CODE_OF_CONDUCT.md; sourceTree = ""; }; + 7D489F6F29CE986A00499B21 /* Shared.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Shared.xcconfig; sourceTree = ""; }; + 7D489F7029CE986A00499B21 /* Atomics.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Atomics.xcconfig; sourceTree = ""; }; + 7D489F7129CE986A00499B21 /* AtomicsTests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AtomicsTests.xcconfig; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 7D489E3C29CE969D00499B21 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7D489E4429CE969D00499B21 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7D489E4829CE969D00499B21 /* Atomics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 7D489E3529CE969D00499B21 = { + isa = PBXGroup; + children = ( + 7D489EC529CE96DA00499B21 /* Package.swift */, + 7D489EC629CE96DA00499B21 /* CMakeLists.txt */, + 7D489ED929CE96DA00499B21 /* CODE_OF_CONDUCT.md */, + 7D489ED829CE96DA00499B21 /* CONTRIBUTING.md */, + 7D489ED129CE96DA00499B21 /* LICENSE.txt */, + 7D489ED729CE96DA00499B21 /* README.md */, + 7D489E5729CE96D900499B21 /* Sources */, + 7D489E7B29CE96D900499B21 /* Tests */, + 7D489EC729CE96DA00499B21 /* Utilities */, + 7D489ED229CE96DA00499B21 /* Xcode */, + 7D489E4029CE969D00499B21 /* Products */, + ); + sourceTree = ""; + }; + 7D489E4029CE969D00499B21 /* Products */ = { + isa = PBXGroup; + children = ( + 7D489E3F29CE969D00499B21 /* Atomics.framework */, + 7D489E4729CE969D00499B21 /* AtomicsTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 7D489E5729CE96D900499B21 /* Sources */ = { + isa = PBXGroup; + children = ( + 7D489E5829CE96D900499B21 /* CMakeLists.txt */, + 7D489E5929CE96D900499B21 /* Atomics */, + 7D489E7429CE96D900499B21 /* _AtomicsShims */, + ); + name = Sources; + path = ../Sources; + sourceTree = ""; + }; + 7D489E5929CE96D900499B21 /* Atomics */ = { + isa = PBXGroup; + children = ( + 7D489E6C29CE96D900499B21 /* autogenerated */, + 7D489E6129CE96D900499B21 /* AtomicBool.swift.gyb */, + 7D489E5B29CE96D900499B21 /* AtomicInteger.swift */, + 7D489E5D29CE96D900499B21 /* AtomicLazyReference.swift.gyb */, + 7D489E6929CE96D900499B21 /* AtomicMemoryOrderings.swift */, + 7D489E6729CE96D900499B21 /* AtomicOptional.swift */, + 7D489E5E29CE96D900499B21 /* AtomicOptionalRawRepresentable.swift */, + 7D489E6229CE96D900499B21 /* AtomicRawRepresentable.swift */, + 7D489E6A29CE96D900499B21 /* Atomics.docc */, + 7D489E5A29CE96D900499B21 /* AtomicStrongReference.swift */, + 7D489E5F29CE96D900499B21 /* AtomicValue.swift */, + 7D489E5C29CE96D900499B21 /* CMakeLists.txt */, + 7D489E6329CE96D900499B21 /* DoubleWord.swift */, + 7D489E6429CE96D900499B21 /* HighLevelTypes.swift.gyb */, + 7D489E6B29CE96D900499B21 /* IntegerConformances.swift.gyb */, + 7D489E6629CE96D900499B21 /* PointerConformances.swift.gyb */, + 7D489E6829CE96D900499B21 /* Primitives.native.swift.gyb */, + 7D489E6029CE96D900499B21 /* Primitives.shims.swift.gyb */, + 7D489E6529CE96D900499B21 /* Unmanaged extensions.swift */, + ); + path = Atomics; + sourceTree = ""; + }; + 7D489E6C29CE96D900499B21 /* autogenerated */ = { + isa = PBXGroup; + children = ( + 7D489E7229CE96D900499B21 /* AtomicBool.swift */, + 7D489E6D29CE96D900499B21 /* AtomicLazyReference.swift */, + 7D489E7329CE96D900499B21 /* HighLevelTypes.swift */, + 7D489E6E29CE96D900499B21 /* IntegerConformances.swift */, + 7D489E6F29CE96D900499B21 /* PointerConformances.swift */, + 7D489E7029CE96D900499B21 /* Primitives.native.swift */, + 7D489E7129CE96D900499B21 /* Primitives.shims.swift */, + ); + path = autogenerated; + sourceTree = ""; + }; + 7D489E7429CE96D900499B21 /* _AtomicsShims */ = { + isa = PBXGroup; + children = ( + 7D489E7529CE96D900499B21 /* CMakeLists.txt */, + 7D489E7629CE96D900499B21 /* include */, + 7D489E7929CE96D900499B21 /* src */, + ); + path = _AtomicsShims; + sourceTree = ""; + }; + 7D489E7629CE96D900499B21 /* include */ = { + isa = PBXGroup; + children = ( + 7D489E7729CE96D900499B21 /* _AtomicsShims.h */, + 7D489E7829CE96D900499B21 /* module.modulemap */, + ); + path = include; + sourceTree = ""; + }; + 7D489E7929CE96D900499B21 /* src */ = { + isa = PBXGroup; + children = ( + 7D489E7A29CE96D900499B21 /* _AtomicsShims.c */, + ); + path = src; + sourceTree = ""; + }; + 7D489E7B29CE96D900499B21 /* Tests */ = { + isa = PBXGroup; + children = ( + 7D489EBE29CE96DA00499B21 /* CMakeLists.txt */, + 7D489E7C29CE96D900499B21 /* AtomicsTests */, + 7D489EBF29CE96DA00499B21 /* lit */, + ); + name = Tests; + path = ../Tests; + sourceTree = ""; + }; + 7D489E7C29CE96D900499B21 /* AtomicsTests */ = { + isa = PBXGroup; + children = ( + 7D489E7D29CE96D900499B21 /* AtomicLazyReference.swift */, + 7D489E7E29CE96D900499B21 /* Basics */, + 7D489EBB29CE96DA00499B21 /* DoubleWord.swift */, + 7D489EB629CE96DA00499B21 /* LifetimeTracked.swift */, + 7D489EBA29CE96DA00499B21 /* LockFreeQueue.swift */, + 7D489EB929CE96DA00499B21 /* LockFreeSingleConsumerStack.swift */, + 7D489EBD29CE96DA00499B21 /* main.swift */, + 7D489EB829CE96DA00499B21 /* StrongReferenceRace.swift */, + 7D489EBC29CE96DA00499B21 /* StrongReferenceShuffle.swift */, + 7D489EB729CE96DA00499B21 /* StrongReferenceSubclass.swift */, + ); + path = AtomicsTests; + sourceTree = ""; + }; + 7D489E7E29CE96D900499B21 /* Basics */ = { + isa = PBXGroup; + children = ( + 7D489E7F29CE96D900499B21 /* BasicAtomicIntTests.swift.gyb */, + 7D489E8029CE96D900499B21 /* BasicAtomicUInt8Tests.swift.gyb */, + 7D489E8129CE96D900499B21 /* BasicTests.gyb-template */, + 7D489E8229CE96D900499B21 /* BasicAtomicInt32Tests.swift.gyb */, + 7D489E8329CE96D900499B21 /* BasicAtomicPointerTests.swift.gyb */, + 7D489E8429CE96D900499B21 /* BasicAtomicInt8Tests.swift.gyb */, + 7D489E8529CE96D900499B21 /* BasicAtomicOptionalPointerTests.swift.gyb */, + 7D489E8629CE96D900499B21 /* BasicAtomicBoolTests.swift.gyb */, + 7D489E8729CE96D900499B21 /* BasicTestSupport.swift */, + 7D489E8829CE96D900499B21 /* BasicAtomicMutableRawPointerTests.swift.gyb */, + 7D489E8929CE96D900499B21 /* BasicAtomicMutablePointerTests.swift.gyb */, + 7D489E8A29CE96D900499B21 /* BasicAtomicUInt32Tests.swift.gyb */, + 7D489E8B29CE96D900499B21 /* BasicAtomicOptionalRawPointerTests.swift.gyb */, + 7D489E8C29CE96D900499B21 /* BasicAtomicDoubleWordTests.swift.gyb */, + 7D489E8D29CE96D900499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift.gyb */, + 7D489E8E29CE96D900499B21 /* BasicAtomicReferenceTests.swift.gyb */, + 7D489E8F29CE96D900499B21 /* BasicAtomicUInt64Tests.swift.gyb */, + 7D489E9029CE96D900499B21 /* BasicAtomicOptionalUnmanagedTests.swift.gyb */, + 7D489E9129CE96D900499B21 /* BasicAtomicOptionalMutablePointerTests.swift.gyb */, + 7D489E9229CE96D900499B21 /* BasicAtomicInt16Tests.swift.gyb */, + 7D489E9329CE96D900499B21 /* BasicAtomicOptionalRawRepresentableTests.swift.gyb */, + 7D489E9429CE96D900499B21 /* BasicAtomicRawRepresentableTests.swift.gyb */, + 7D489E9529CE96D900499B21 /* BasicAtomicRawPointerTests.swift.gyb */, + 7D489E9629CE96D900499B21 /* BasicAtomicUIntTests.swift.gyb */, + 7D489E9729CE96D900499B21 /* BasicAtomicUnmanagedTests.swift.gyb */, + 7D489E9829CE96D900499B21 /* BasicAtomicOptionalReferenceTests.swift.gyb */, + 7D489E9929CE96D900499B21 /* BasicAtomicInt64Tests.swift.gyb */, + 7D489E9A29CE96D900499B21 /* BasicAtomicUInt16Tests.swift.gyb */, + 7D489E9B29CE96D900499B21 /* autogenerated */, + ); + path = Basics; + sourceTree = ""; + }; + 7D489E9B29CE96D900499B21 /* autogenerated */ = { + isa = PBXGroup; + children = ( + 7D489E9C29CE96D900499B21 /* BasicAtomicInt8Tests.swift */, + 7D489E9D29CE96D900499B21 /* BasicAtomicOptionalMutablePointerTests.swift */, + 7D489E9E29CE96D900499B21 /* BasicAtomicInt64Tests.swift */, + 7D489E9F29CE96D900499B21 /* BasicAtomicMutablePointerTests.swift */, + 7D489EA029CE96DA00499B21 /* BasicAtomicRawPointerTests.swift */, + 7D489EA129CE96DA00499B21 /* BasicAtomicUnmanagedTests.swift */, + 7D489EA229CE96DA00499B21 /* BasicAtomicBoolTests.swift */, + 7D489EA329CE96DA00499B21 /* BasicAtomicReferenceTests.swift */, + 7D489EA429CE96DA00499B21 /* BasicAtomicRawRepresentableTests.swift */, + 7D489EA529CE96DA00499B21 /* BasicAtomicIntTests.swift */, + 7D489EA629CE96DA00499B21 /* BasicAtomicOptionalReferenceTests.swift */, + 7D489EA729CE96DA00499B21 /* BasicAtomicOptionalUnmanagedTests.swift */, + 7D489EA829CE96DA00499B21 /* BasicAtomicUInt64Tests.swift */, + 7D489EA929CE96DA00499B21 /* BasicAtomicUInt8Tests.swift */, + 7D489EAA29CE96DA00499B21 /* BasicAtomicInt16Tests.swift */, + 7D489EAB29CE96DA00499B21 /* BasicAtomicOptionalPointerTests.swift */, + 7D489EAC29CE96DA00499B21 /* BasicAtomicUInt32Tests.swift */, + 7D489EAD29CE96DA00499B21 /* BasicAtomicOptionalRawRepresentableTests.swift */, + 7D489EAE29CE96DA00499B21 /* BasicAtomicOptionalRawPointerTests.swift */, + 7D489EAF29CE96DA00499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift */, + 7D489EB029CE96DA00499B21 /* BasicAtomicDoubleWordTests.swift */, + 7D489EB129CE96DA00499B21 /* BasicAtomicPointerTests.swift */, + 7D489EB229CE96DA00499B21 /* BasicAtomicUInt16Tests.swift */, + 7D489EB329CE96DA00499B21 /* BasicAtomicInt32Tests.swift */, + 7D489EB429CE96DA00499B21 /* BasicAtomicUIntTests.swift */, + 7D489EB529CE96DA00499B21 /* BasicAtomicMutableRawPointerTests.swift */, + ); + path = autogenerated; + sourceTree = ""; + }; + 7D489EBF29CE96DA00499B21 /* lit */ = { + isa = PBXGroup; + children = ( + 7D489EC029CE96DA00499B21 /* UnsafeAtomicInitializers.swift.gyb */, + 7D489EC129CE96DA00499B21 /* AtomicsFolding.swift.gyb */, + 7D489EC229CE96DA00499B21 /* autogenerated */, + ); + path = lit; + sourceTree = ""; + }; + 7D489EC229CE96DA00499B21 /* autogenerated */ = { + isa = PBXGroup; + children = ( + 7D489EC329CE96DA00499B21 /* UnsafeAtomicInitializers.swift */, + 7D489EC429CE96DA00499B21 /* AtomicsFolding.swift */, + ); + path = autogenerated; + sourceTree = ""; + }; + 7D489EC729CE96DA00499B21 /* Utilities */ = { + isa = PBXGroup; + children = ( + 7D489EC829CE96DA00499B21 /* gyb.py */, + 7D489EC929CE96DA00499B21 /* run-full-tests.sh */, + 7D489ECD29CE96DA00499B21 /* gyb_utils.py */, + 7D489ECE29CE96DA00499B21 /* gyb */, + 7D489ECF29CE96DA00499B21 /* generate-sources.sh */, + 7D489ED029CE96DA00499B21 /* generate-docs.sh */, + ); + name = Utilities; + path = ../Utilities; + sourceTree = ""; + }; + 7D489ED229CE96DA00499B21 /* Xcode */ = { + isa = PBXGroup; + children = ( + 7D489F6F29CE986A00499B21 /* Shared.xcconfig */, + 7D489F7029CE986A00499B21 /* Atomics.xcconfig */, + 7D489F7129CE986A00499B21 /* AtomicsTests.xcconfig */, + 7D489ED329CE96DA00499B21 /* Atomics.xcodeproj */, + 7D489ED629CE96DA00499B21 /* README.md */, + ); + name = Xcode; + sourceTree = ""; + }; + 7D489ED429CE96DA00499B21 /* Products */ = { + isa = PBXGroup; + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 7D489E3A29CE969D00499B21 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 7D489EF529CE96DA00499B21 /* _AtomicsShims.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 7D489E3E29CE969D00499B21 /* Atomics */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7D489E5129CE969D00499B21 /* Build configuration list for PBXNativeTarget "Atomics" */; + buildPhases = ( + 7D489E3A29CE969D00499B21 /* Headers */, + 7D489E3B29CE969D00499B21 /* Sources */, + 7D489E3C29CE969D00499B21 /* Frameworks */, + 7D489E3D29CE969D00499B21 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Atomics; + productName = Atomics; + productReference = 7D489E3F29CE969D00499B21 /* Atomics.framework */; + productType = "com.apple.product-type.framework"; + }; + 7D489E4629CE969D00499B21 /* AtomicsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7D489E5429CE969D00499B21 /* Build configuration list for PBXNativeTarget "AtomicsTests" */; + buildPhases = ( + 7D489E4329CE969D00499B21 /* Sources */, + 7D489E4429CE969D00499B21 /* Frameworks */, + 7D489E4529CE969D00499B21 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 7D489E4A29CE969D00499B21 /* PBXTargetDependency */, + ); + name = AtomicsTests; + productName = AtomicsTests; + productReference = 7D489E4729CE969D00499B21 /* AtomicsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 7D489E3629CE969D00499B21 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1420; + LastUpgradeCheck = 1420; + TargetAttributes = { + 7D489E3E29CE969D00499B21 = { + CreatedOnToolsVersion = 14.2; + LastSwiftMigration = 1420; + }; + 7D489E4629CE969D00499B21 = { + CreatedOnToolsVersion = 14.2; + }; + }; + }; + buildConfigurationList = 7D489E3929CE969D00499B21 /* Build configuration list for PBXProject "Atomics" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 7D489E3529CE969D00499B21; + productRefGroup = 7D489E4029CE969D00499B21 /* Products */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 7D489ED429CE96DA00499B21 /* Products */; + ProjectRef = 7D489ED329CE96DA00499B21 /* Atomics.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 7D489E3E29CE969D00499B21 /* Atomics */, + 7D489E4629CE969D00499B21 /* AtomicsTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 7D489E3D29CE969D00499B21 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7D489E4529CE969D00499B21 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 7D489E3B29CE969D00499B21 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7D489EEE29CE96DA00499B21 /* IntegerConformances.swift in Sources */, + 7D489EF629CE96DA00499B21 /* _AtomicsShims.c in Sources */, + 7D489EDF29CE96DA00499B21 /* AtomicOptionalRawRepresentable.swift in Sources */, + 7D489EDB29CE96DA00499B21 /* AtomicStrongReference.swift in Sources */, + 7D489EE829CE96DA00499B21 /* AtomicOptional.swift in Sources */, + 7D489EF229CE96DA00499B21 /* AtomicBool.swift in Sources */, + 7D489EEF29CE96DA00499B21 /* PointerConformances.swift in Sources */, + 7D489EE029CE96DA00499B21 /* AtomicValue.swift in Sources */, + 7D489EDC29CE96DA00499B21 /* AtomicInteger.swift in Sources */, + 7D489EED29CE96DA00499B21 /* AtomicLazyReference.swift in Sources */, + 7D489EF329CE96DA00499B21 /* HighLevelTypes.swift in Sources */, + 7D489EE629CE96DA00499B21 /* Unmanaged extensions.swift in Sources */, + 7D489EE429CE96DA00499B21 /* DoubleWord.swift in Sources */, + 7D489EEA29CE96DA00499B21 /* AtomicMemoryOrderings.swift in Sources */, + 7D489EE329CE96DA00499B21 /* AtomicRawRepresentable.swift in Sources */, + 7D489EF029CE96DA00499B21 /* Primitives.native.swift in Sources */, + 7D489EF129CE96DA00499B21 /* Primitives.shims.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7D489E4329CE969D00499B21 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7D489F6129CE978100499B21 /* BasicAtomicInt32Tests.swift in Sources */, + 7D489F5929CE978100499B21 /* BasicAtomicRawPointerTests.swift in Sources */, + 7D489F6529CE978100499B21 /* BasicAtomicInt8Tests.swift in Sources */, + 7D489F5B29CE978100499B21 /* BasicAtomicUInt64Tests.swift in Sources */, + 7D489F5529CE978100499B21 /* BasicAtomicMutablePointerTests.swift in Sources */, + 7D489F4D29CE976800499B21 /* StrongReferenceSubclass.swift in Sources */, + 7D489F5C29CE978100499B21 /* BasicAtomicUInt32Tests.swift in Sources */, + 7D489F6229CE978100499B21 /* BasicAtomicUIntTests.swift in Sources */, + 7D489F5E29CE978100499B21 /* BasicAtomicOptionalUnmanagedTests.swift in Sources */, + 7D489F4E29CE976800499B21 /* LifetimeTracked.swift in Sources */, + 7D489F6029CE978100499B21 /* BasicAtomicUInt16Tests.swift in Sources */, + 7D489F6429CE978100499B21 /* BasicAtomicReferenceTests.swift in Sources */, + 7D489F5729CE978100499B21 /* BasicAtomicOptionalPointerTests.swift in Sources */, + 7D489F5229CE976B00499B21 /* AtomicLazyReference.swift in Sources */, + 7D489F4B29CE976800499B21 /* main.swift in Sources */, + 7D489F5329CE977200499B21 /* BasicTestSupport.swift in Sources */, + 7D489F5029CE976800499B21 /* StrongReferenceRace.swift in Sources */, + 7D489F6929CE978100499B21 /* BasicAtomicIntTests.swift in Sources */, + 7D489F5D29CE978100499B21 /* BasicAtomicBoolTests.swift in Sources */, + 7D489F5A29CE978100499B21 /* BasicAtomicMutableRawPointerTests.swift in Sources */, + 7D489F5F29CE978100499B21 /* BasicAtomicOptionalRawPointerTests.swift in Sources */, + 7D489F6629CE978100499B21 /* BasicAtomicDoubleWordTests.swift in Sources */, + 7D489F5629CE978100499B21 /* BasicAtomicOptionalMutableRawPointerTests.swift in Sources */, + 7D489F5429CE978100499B21 /* BasicAtomicInt16Tests.swift in Sources */, + 7D489F4A29CE976800499B21 /* StrongReferenceShuffle.swift in Sources */, + 7D489F6B29CE978100499B21 /* BasicAtomicOptionalReferenceTests.swift in Sources */, + 7D489F4F29CE976800499B21 /* DoubleWord.swift in Sources */, + 7D489F6729CE978100499B21 /* BasicAtomicPointerTests.swift in Sources */, + 7D489F5129CE976800499B21 /* LockFreeQueue.swift in Sources */, + 7D489F6829CE978100499B21 /* BasicAtomicOptionalRawRepresentableTests.swift in Sources */, + 7D489F4C29CE976800499B21 /* LockFreeSingleConsumerStack.swift in Sources */, + 7D489F6A29CE978100499B21 /* BasicAtomicUInt8Tests.swift in Sources */, + 7D489F5829CE978100499B21 /* BasicAtomicOptionalMutablePointerTests.swift in Sources */, + 7D489F6D29CE978100499B21 /* BasicAtomicRawRepresentableTests.swift in Sources */, + 7D489F6C29CE978100499B21 /* BasicAtomicUnmanagedTests.swift in Sources */, + 7D489F6329CE978100499B21 /* BasicAtomicInt64Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 7D489E4A29CE969D00499B21 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7D489E3E29CE969D00499B21 /* Atomics */; + targetProxy = 7D489E4929CE969D00499B21 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 7D489E4F29CE969D00499B21 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D489F6F29CE986A00499B21 /* Shared.xcconfig */; + buildSettings = { + }; + name = Debug; + }; + 7D489E5029CE969D00499B21 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D489F6F29CE986A00499B21 /* Shared.xcconfig */; + buildSettings = { + }; + name = Release; + }; + 7D489E5229CE969D00499B21 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D489F7029CE986A00499B21 /* Atomics.xcconfig */; + buildSettings = { + }; + name = Debug; + }; + 7D489E5329CE969D00499B21 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D489F7029CE986A00499B21 /* Atomics.xcconfig */; + buildSettings = { + }; + name = Release; + }; + 7D489E5529CE969D00499B21 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D489F7129CE986A00499B21 /* AtomicsTests.xcconfig */; + buildSettings = { + }; + name = Debug; + }; + 7D489E5629CE969D00499B21 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D489F7129CE986A00499B21 /* AtomicsTests.xcconfig */; + buildSettings = { + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 7D489E3929CE969D00499B21 /* Build configuration list for PBXProject "Atomics" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7D489E4F29CE969D00499B21 /* Debug */, + 7D489E5029CE969D00499B21 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7D489E5129CE969D00499B21 /* Build configuration list for PBXNativeTarget "Atomics" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7D489E5229CE969D00499B21 /* Debug */, + 7D489E5329CE969D00499B21 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7D489E5429CE969D00499B21 /* Build configuration list for PBXNativeTarget "AtomicsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7D489E5529CE969D00499B21 /* Debug */, + 7D489E5629CE969D00499B21 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 7D489E3629CE969D00499B21 /* Project object */; +} diff --git a/Xcode/Atomics.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Xcode/Atomics.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Xcode/Atomics.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Xcode/Atomics.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Xcode/Atomics.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Xcode/Atomics.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Xcode/AtomicsTests.xcconfig b/Xcode/AtomicsTests.xcconfig new file mode 100644 index 0000000..5315b84 --- /dev/null +++ b/Xcode/AtomicsTests.xcconfig @@ -0,0 +1,30 @@ +//===----------------------------------------------------------------------===// +// +// This source file is part of the Swift Atomics open source project +// +// Copyright (c) 2023 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See https://swift.org/LICENSE.txt for license information +// +//===----------------------------------------------------------------------===// + +PRODUCT_NAME = AtomicsTests +PRODUCT_BUNDLE_IDENTIFIER = org.swift.AtomicsTests + +SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator +ARCHS = $(ARCHS_STANDARD) + +MACOSX_DEPLOYMENT_TARGET = 12.0 +IPHONEOS_DEPLOYMENT_TARGET = 15.0 +WATCHOS_DEPLOYMENT_TARGET = 8.0 +TVOS_DEPLOYMENT_TARGET = 15.0 + +CURRENT_PROJECT_VERSION = 1 +MARKETING_VERSION = 1.0 + +GENERATE_INFOPLIST_FILE = YES +CODE_SIGN_STYLE = Automatic + +ENABLE_TESTABILITY = NO + diff --git a/Xcode/README.md b/Xcode/README.md new file mode 100644 index 0000000..4c74b79 --- /dev/null +++ b/Xcode/README.md @@ -0,0 +1,5 @@ +# Xcode build files + +The project file here can be used to build a variant of this package with Xcode. The project file is a regular Xcode project that builds the code base using the ATOMICS_NATIVE_BUILTINS configuration, producing a single framework bundle. Build settings are entirely configured via the provided xcconfig files. + +Beware! The contents of this directory are not source stable. They are provided as is, with no compatibility promises across package releases. Future versions of this package can arbitrarily change these files or remove them, without any advance notice. (This can include patch releases.) diff --git a/Xcode/Shared.xcconfig b/Xcode/Shared.xcconfig new file mode 100644 index 0000000..0ca2098 --- /dev/null +++ b/Xcode/Shared.xcconfig @@ -0,0 +1,78 @@ +//===----------------------------------------------------------------------===// +// +// This source file is part of the Swift Atomics open source project +// +// Copyright (c) 2023 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See https://swift.org/LICENSE.txt for license information +// +//===----------------------------------------------------------------------===// + +SDKROOT = macosx + +SWIFT_VERSION = 5.5 +ONLY_ACTIVE_ARCH[config=Debug] = YES + +SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) ATOMICS_SINGLE_MODULE ATOMICS_NATIVE_BUILTINS + +SWIFT_COMPILATION_MODE[config=Release] = wholemodule +SWIFT_COMPILATION_MODE[config=Debug] = singlefile + +SWIFT_OPTIMIZATION_LEVEL[config=Release] = -O +SWIFT_OPTIMIZATION_LEVEL[config=Debug] = -Onone + +SWIFT_EMIT_LOC_STRINGS = NO +SWIFT_INSTALL_OBJC_HEADER = NO + +COPY_PHASE_STRIP = NO + +DEBUG_INFORMATION_FORMAT[config=Release] = dwarf-with-dsym +DEBUG_INFORMATION_FORMAT[config=Debug] = dwarf + +ALWAYS_SEARCH_USER_PATHS = NO + +GCC_DYNAMIC_NO_PIC = NO +GCC_NO_COMMON_BLOCKS = YES +GCC_OPTIMIZATION_LEVEL[config=Debug] = 0 + +GCC_C_LANGUAGE_STANDARD = gnu11 +CLANG_CXX_LANGUAGE_STANDARD = gnu++20 +CLANG_ENABLE_MODULES = YES +CLANG_ENABLE_OBJC_ARC = YES +CLANG_ENABLE_OBJC_WEAK = YES +ENABLE_NS_ASSERTIONS[config=Release] = NO +ENABLE_STRICT_OBJC_MSGSEND = YES +GCC_PREPROCESSOR_DEFINITIONS[config=Release] = DEBUG=1 $(inherited) + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES +CLANG_WARN_BOOL_CONVERSION = YES +CLANG_WARN_COMMA = YES +CLANG_WARN_CONSTANT_CONVERSION = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_EMPTY_BODY = YES +CLANG_WARN_ENUM_CONVERSION = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_INT_CONVERSION = YES +CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES +CLANG_WARN_STRICT_PROTOTYPES = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE +CLANG_WARN_UNREACHABLE_CODE = YES + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE +GCC_WARN_UNUSED_FUNCTION = YES +GCC_WARN_UNUSED_VARIABLE = YES +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR +CLANG_WARN_OBJC_LITERAL_CONVERSION = YES +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES +GCC_WARN_UNDECLARED_SELECTOR = YES +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES +CLANG_ANALYZER_NONNULL = YES +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE