diff options
| -rw-r--r-- | lld/include/lld/Core/Resolver.h | 1 | ||||
| -rw-r--r-- | lld/lib/Core/Resolver.cpp | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lld/include/lld/Core/Resolver.h b/lld/include/lld/Core/Resolver.h index b6d8185b3cd..4e6e42599bc 100644 --- a/lld/include/lld/Core/Resolver.h +++ b/lld/include/lld/Core/Resolver.h @@ -47,7 +47,6 @@ public: virtual void doUndefinedAtom(const UndefinedAtom&); virtual void doSharedLibraryAtom(const SharedLibraryAtom &); virtual void doAbsoluteAtom(const AbsoluteAtom &); - virtual void doFile(const File&); // Handle files, this adds atoms from the current file thats // being processed by the resolver diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp index 1c16084a934..f42c47edaba 100644 --- a/lld/lib/Core/Resolver.cpp +++ b/lld/lib/Core/Resolver.cpp @@ -68,15 +68,11 @@ private: } // namespace -// called before the first atom in any file is added with doAtom() -void Resolver::doFile(const File &file) {} - void Resolver::handleFile(const File &file) { uint32_t resolverState = Resolver::StateNoChange; const SharedLibraryFile *sharedLibraryFile = llvm::dyn_cast<SharedLibraryFile>(&file); - doFile(file); for (const DefinedAtom *atom : file.defined()) { doDefinedAtom(*atom); resolverState |= StateNewDefinedAtoms; |

