diff options
Diffstat (limited to 'include/lld/Core/ArchiveLibraryFile.h')
| -rw-r--r-- | include/lld/Core/ArchiveLibraryFile.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/lld/Core/ArchiveLibraryFile.h b/include/lld/Core/ArchiveLibraryFile.h index ff379d4f3ecf..2c736e7d6c61 100644 --- a/include/lld/Core/ArchiveLibraryFile.h +++ b/include/lld/Core/ArchiveLibraryFile.h @@ -11,7 +11,6 @@ #define LLD_CORE_ARCHIVE_LIBRARY_FILE_H #include "lld/Core/File.h" -#include "lld/Core/Parallel.h" #include <set> namespace lld { @@ -33,23 +32,11 @@ public: /// Check if any member of the archive contains an Atom with the /// specified name and return the File object for that member, or nullptr. - virtual File *find(StringRef name, bool dataSymbolOnly) = 0; + virtual File *find(StringRef name) = 0; virtual std::error_code parseAllMembers(std::vector<std::unique_ptr<File>> &result) = 0; - // Parses a member file containing a given symbol, so that when you - // need the file find() can return that immediately. Calling this function - // has no side effect other than pre-instantiating a file. Calling this - // function doesn't affect correctness. - virtual void preload(TaskGroup &group, StringRef symbolName) {} - - /// Returns a set of all defined symbols in the archive, i.e. all - /// resolvable symbol using this file. - virtual std::set<StringRef> getDefinedSymbols() { - return std::set<StringRef>(); - } - protected: /// only subclasses of ArchiveLibraryFile can be instantiated ArchiveLibraryFile(StringRef path) : File(path, kindArchiveLibrary) {} |
