]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/InputFiles.h
ld64-264.3.101.tar.gz
[apple/ld64.git] / src / ld / InputFiles.h
index 608ce39f41f20349a0ec035a1a2eea7a26851219..e9927cd689346935098e5442ce0153add64bef21 100644 (file)
@@ -97,7 +97,8 @@ private:
        void                                            checkDylibClientRestrictions(ld::dylib::File*);
        void                                            createOpaqueFileSections();
        bool                                            libraryAlreadyLoaded(const char* path);
-       
+       bool                                            frameworkAlreadyLoaded(const char* path, const char* frameworkName);
+
        // for pipelined linking
     void                                               waitForInputFiles();
        static void                                     waitForInputFiles(InputFiles *inputFiles);
@@ -144,9 +145,9 @@ private:
         LibraryInfo(ld::dylib::File* dylib) : _lib(dylib), _isDylib(true) {};
         LibraryInfo(ld::archive::File* dylib) : _lib(dylib), _isDylib(false) {};
 
-        bool isDylib() { return _isDylib; }
-        ld::dylib::File *dylib() { return (ld::dylib::File*)_lib; }
-        ld::archive::File *archive() { return (ld::archive::File*)_lib; }
+        bool isDylib() const { return _isDylib; }
+        ld::dylib::File *dylib() const { return (ld::dylib::File*)_lib; }
+        ld::archive::File *archive() const { return (ld::archive::File*)_lib; }
     };
     std::vector<LibraryInfo>  _searchLibraries;
 };