]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/parsers/macho_relocatable_file.h
ld64-241.9.tar.gz
[apple/ld64.git] / src / ld / parsers / macho_relocatable_file.h
index 6d0e25e0fc12b8ae5f943227474b2f5615c78834..6d20847fcd02d2b244bd23f56376ef3539749b14 100644 (file)
@@ -35,12 +35,16 @@ struct ParserOptions {
        uint32_t                architecture;
        bool                    objSubtypeMustMatch;
        bool                    logAllFiles;
-       bool                    convertUnwindInfo;
+       bool                    warnUnwindConversionProblems;
+       bool                    keepDwarfUnwind;
+       bool                    forceDwarfConversion;
+       bool                    neverConvertDwarf;
+       bool                    verboseOptimizationHints;
        uint32_t                subType;
 };
 
 extern ld::relocatable::File* parse(const uint8_t* fileContent, uint64_t fileLength, 
-                                                                       const char* path, time_t modTime, uint32_t ordinal, 
+                                                                       const char* path, time_t modTime, ld::File::Ordinal ordinal, 
                                                                        const ParserOptions& opts);
                                                                        
 extern bool isObjectFile(const uint8_t* fileContent, uint64_t fileLength, const ParserOptions& opts);
@@ -49,6 +53,8 @@ extern bool isObjectFile(const uint8_t* fileContent, cpu_type_t* result, cpu_sub
 
 extern bool hasObjC2Categories(const uint8_t* fileContent);                                    
 
+extern bool hasObjC1Categories(const uint8_t* fileContent);
+
 extern const char* archName(const uint8_t* fileContent);                                       
 
 } // namespace relocatable