]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/Options.h
ld64-97.2.tar.gz
[apple/ld64.git] / src / ld / Options.h
index 9b8890e647d308d8a35b45b68128760426106410..2fa364e758c065b62079c1c585bb16e489335bb6 100644 (file)
@@ -35,8 +35,8 @@
 
 #include "ObjectFile.h"
 
 
 #include "ObjectFile.h"
 
-extern void throwf (const char* format, ...) __attribute__ ((noreturn));
-extern void warning(const char* format, ...);
+extern void throwf (const char* format, ...) __attribute__ ((noreturn,format(printf, 1, 2)));
+extern void warning(const char* format, ...) __attribute__((format(printf, 1, 2)));
 
 class LibraryOptions
 {
 
 class LibraryOptions
 {
@@ -231,6 +231,7 @@ public:
        bool                                            errorOnOtherArchFiles() { return fErrorOnOtherArchFiles; }
        bool                                            markAutoDeadStripDylib() { return fMarkDeadStrippableDylib; }
        bool                                            removeEHLabels() { return fReaderOptions.fNoEHLabels; }
        bool                                            errorOnOtherArchFiles() { return fErrorOnOtherArchFiles; }
        bool                                            markAutoDeadStripDylib() { return fMarkDeadStrippableDylib; }
        bool                                            removeEHLabels() { return fReaderOptions.fNoEHLabels; }
+       bool                                            useSimplifiedDylibReExports() { return fUseSimplifiedDylibReExports; }
 
 private:
        class CStringEquals
 
 private:
        class CStringEquals
@@ -380,6 +381,7 @@ private:
        bool                                                            fMakeCompressedDyldInfo;
        bool                                                            fNoEHLabels;
        bool                                                            fAllowCpuSubtypeMismatches;
        bool                                                            fMakeCompressedDyldInfo;
        bool                                                            fNoEHLabels;
        bool                                                            fAllowCpuSubtypeMismatches;
+       bool                                                            fUseSimplifiedDylibReExports;
        std::vector<const char*>                        fInitialUndefines;
        NameSet                                                         fAllowedUndefined;
        NameSet                                                         fWhyLive;
        std::vector<const char*>                        fInitialUndefines;
        NameSet                                                         fAllowedUndefined;
        NameSet                                                         fWhyLive;