Loading...
cache-builder/mrm_shared_cache_builder.h dyld-1284.13 dyld-1122.1.2
--- dyld/dyld-1284.13/cache-builder/mrm_shared_cache_builder.h
+++ dyld/dyld-1122.1.2/cache-builder/mrm_shared_cache_builder.h
@@ -47,9 +47,7 @@
     iOS_simulator       = 7,    // PLATFORM_IOSIMULATOR
     tvOS_simulator      = 8,    // PLATFORM_TVOSSIMULATOR
     watchOS_simulator   = 9,    // PLATFORM_WATCHOSSIMULATOR
-    driverKit           = 10,   // PLATFORM_DRIVERKIT
-    macOSExclaveKit     = 16,   // PLATFORM_MACOS_EXCLAVEKIT
-    iOSExclaveKit       = 18,   // PLATFORM_IOS_EXCLAVEKIT
+    driverKit           = 10    // PLATFORM_DRIVERKIT
 };
 
 enum Disposition
@@ -57,8 +55,7 @@
     Unknown                 = 0,
     InternalDevelopment     = 1,
     Customer                = 2,
-    InternalMinDevelopment  = 3,
-    SymbolsCache            = 4
+    InternalMinDevelopment  = 3
 };
 
 enum FileFlags
@@ -73,12 +70,6 @@
     DylibOrderFile                              = 100,
     DirtyDataOrderFile                          = 101,
     ObjCOptimizationsFile                       = 102,
-    SwiftGenericMetadataFile                    = 103,
-
-    // This replaces all the magic JSON files and order files, ie, 100..103 above
-    // The path (or some field in the file if its JSON) will be used later to work
-    // out which file it is
-    OptimizationFile                            = 1000,
 };
 
 struct BuildOptions_v1
@@ -194,11 +185,6 @@
 __API_AVAILABLE(macos(10.12))
 bool addFile(struct MRMSharedCacheBuilder* builder, const char* path, uint8_t* data, uint64_t size, enum FileFlags fileFlags);
 
-// Add a file.  Returns true on success.
-// Available in API version 1.6 and later
-__API_AVAILABLE(macos(10.12))
-bool addFile_v2(struct MRMSharedCacheBuilder* builder, const char* path, uint8_t* data, uint64_t size, enum FileFlags fileFlags, const char* projectName);
-
 // Add an on-disk file (ie, a file which won't be removed by MRM).  Returns true on success.
 __API_AVAILABLE(macos(10.12))
 bool addOnDiskFile(struct MRMSharedCacheBuilder* builder, const char* path, uint8_t* data, uint64_t size, enum FileFlags fileFlags,