]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ObjectFile.h
ld64-85.2.1.tar.gz
[apple/ld64.git] / src / ObjectFile.h
index 37a2892e57800f029423bab9c3072ba2cb32cc78..1f42994454e5f9aae1d88af12683acb2bb2218bd 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdint.h>
 #include <vector>
 #include <map>
+#include <set>
 
 
 
@@ -139,7 +140,9 @@ public:
        // For relocatable object files only
        virtual bool                                            canScatterAtoms()                       { return true; }
        virtual void                                            optimize(std::vector<ObjectFile::Atom*>&, std::vector<ObjectFile::Atom*>&, 
-                                                                                                       std::vector<const char*>&,  uint32_t, ObjectFile::Reader* writer, 
+                                                                                                       std::vector<const char*>&, const std::set<ObjectFile::Atom*>&,
+                                                                                                       uint32_t, ObjectFile::Reader* writer, 
+                                                                                                       const std::vector<const char*>& llvmOptions,
                                                                                                        bool allGlobalsAReDeadStripRoots, int okind, 
                                                                                                        bool verbose, bool saveTemps, const char* outputFilePath,
                                                                                                        bool pie, bool allowTextRelocs) { }