]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/parsers/lto_file.h
ld64-351.8.tar.gz
[apple/ld64.git] / src / ld / parsers / lto_file.h
index b7601775de700824921f01f3a04eed42c45d1c26..a086548da109335baba59f284f30d3a951457cc6 100644 (file)
@@ -31,6 +31,10 @@ namespace lto {
 
 extern const char* version();
 
+extern unsigned int runtime_api_version();
+
+extern unsigned int static_api_version();
+
 extern bool libLTOisLoaded();
 
 extern const char* archName(const uint8_t* fileContent, uint64_t fileLength);
@@ -58,6 +62,7 @@ struct OptimizeOptions {
        bool                                                            pie; 
        bool                                                            mainExecutable; 
        bool                                                            staticExecutable; 
+       bool                                                            preload;
        bool                                                            relocatable;
        bool                                                            allowTextRelocs; 
        bool                                                            linkerDeadStripping;