]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/parsers/lto_file.h
ld64-253.9.tar.gz
[apple/ld64.git] / src / ld / parsers / lto_file.h
index d75aab328efddbf093b4a35b061a6f364e5a5b0c..65682326fda8d772f0ffe85ea538fd7f577e75ad 100644 (file)
@@ -48,6 +48,7 @@ struct OptimizeOptions {
        bool                                                            preserveAllGlobals;
        bool                                                            verbose; 
        bool                                                            saveTemps; 
+       bool                                                            ltoCodegenOnly;
        bool                                                            pie; 
        bool                                                            mainExecutable; 
        bool                                                            staticExecutable; 
@@ -57,9 +58,15 @@ struct OptimizeOptions {
        bool                                                            needsUnwindInfoSection; 
        bool                                                            keepDwarfUnwind; 
        bool                                                            verboseOptimizationHints;
+       bool                                                            armUsesZeroCostExceptions;
+       bool                                                            simulator;
+       bool                                                            ignoreMismatchPlatform;
+       bool                                                            bitcodeBundle;
        cpu_type_t                                                      arch;
        const char*                                                     mcpu;
+       Options::Platform                                       platform;
        const std::vector<const char*>*         llvmOptions;
+       const std::vector<const char*>*         initialUndefines;
 };
 
 extern bool    optimize(   const std::vector<const ld::Atom*>& allAtoms,