diff --git a/lld/include/lld/Core/Resolver.h b/lld/include/lld/Core/Resolver.h index c0713011f4ec..ede9732f4d61 100644 --- a/lld/include/lld/Core/Resolver.h +++ b/lld/include/lld/Core/Resolver.h @@ -37,8 +37,7 @@ public: }; Resolver(LinkingContext &context) - : _context(context), _symbolTable(context), _result(new MergedFile()), - _addToFinalSection(false) {} + : _context(context), _symbolTable(context), _result(new MergedFile()) {} // InputFiles::Handler methods void doDefinedAtom(const DefinedAtom&); @@ -114,10 +113,8 @@ private: SymbolTable _symbolTable; std::vector _atoms; std::set _deadStripRoots; - std::vector _atomsWithUnresolvedReferences; llvm::DenseSet _liveAtoms; - std::unique_ptr _result; - bool _addToFinalSection; + std::unique_ptr _result; }; } // namespace lld