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);
extern bool hasObjC2Categories(const uint8_t* fileContent);
+extern bool hasObjC1Categories(const uint8_t* fileContent);
+
extern const char* archName(const uint8_t* fileContent);
} // namespace relocatable