forked from OSchip/llvm-project
parent
43a589cc82
commit
cd1d4193b3
|
@ -37,8 +37,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
Resolver(LinkingContext &context)
|
Resolver(LinkingContext &context)
|
||||||
: _context(context), _symbolTable(context), _result(new MergedFile()),
|
: _context(context), _symbolTable(context), _result(new MergedFile()) {}
|
||||||
_addToFinalSection(false) {}
|
|
||||||
|
|
||||||
// InputFiles::Handler methods
|
// InputFiles::Handler methods
|
||||||
void doDefinedAtom(const DefinedAtom&);
|
void doDefinedAtom(const DefinedAtom&);
|
||||||
|
@ -114,10 +113,8 @@ private:
|
||||||
SymbolTable _symbolTable;
|
SymbolTable _symbolTable;
|
||||||
std::vector<const Atom *> _atoms;
|
std::vector<const Atom *> _atoms;
|
||||||
std::set<const Atom *> _deadStripRoots;
|
std::set<const Atom *> _deadStripRoots;
|
||||||
std::vector<const Atom *> _atomsWithUnresolvedReferences;
|
|
||||||
llvm::DenseSet<const Atom *> _liveAtoms;
|
llvm::DenseSet<const Atom *> _liveAtoms;
|
||||||
std::unique_ptr<MergedFile> _result;
|
std::unique_ptr<MergedFile> _result;
|
||||||
bool _addToFinalSection;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace lld
|
} // namespace lld
|
||||||
|
|
Loading…
Reference in New Issue