summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/DynamicFile.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-01-16 21:58:20 +0000
committerRui Ueyama <ruiu@google.com>2015-01-16 21:58:20 +0000
commitc3abf062a18107fe90b301f743431fbf7dd78823 (patch)
tree4b0dc290dcc88c3a00a3264f4467783da2f4517f /lld/lib/ReaderWriter/ELF/DynamicFile.h
parent2a995148e8caa70a93ce62bd85396297528cc5ce (diff)
downloadbcm5719-llvm-c3abf062a18107fe90b301f743431fbf7dd78823.tar.gz
bcm5719-llvm-c3abf062a18107fe90b301f743431fbf7dd78823.zip
Move common code to base class.
llvm-svn: 226329
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/DynamicFile.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/DynamicFile.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/lld/lib/ReaderWriter/ELF/DynamicFile.h b/lld/lib/ReaderWriter/ELF/DynamicFile.h
index 473e42a9e23..82df69b6c29 100644
--- a/lld/lib/ReaderWriter/ELF/DynamicFile.h
+++ b/lld/lib/ReaderWriter/ELF/DynamicFile.h
@@ -24,22 +24,6 @@ public:
static ErrorOr<std::unique_ptr<DynamicFile>>
create(std::unique_ptr<llvm::MemoryBuffer> mb, bool useShlibUndefines);
- const atom_collection<DefinedAtom> &defined() const override {
- return _definedAtoms;
- }
-
- const atom_collection<UndefinedAtom> &undefined() const override {
- return _undefinedAtoms;
- }
-
- const atom_collection<SharedLibraryAtom> &sharedLibrary() const override {
- return _sharedLibraryAtoms;
- }
-
- const atom_collection<AbsoluteAtom> &absolute() const override {
- return _absoluteAtoms;
- }
-
const SharedLibraryAtom *exports(StringRef name,
bool dataSymbolOnly) const override {
assert(!dataSymbolOnly && "Invalid option for ELF exports!");
@@ -106,10 +90,6 @@ private:
mutable llvm::BumpPtrAllocator _alloc;
std::unique_ptr<llvm::object::ELFFile<ELFT>> _objFile;
- atom_collection_vector<DefinedAtom> _definedAtoms;
- atom_collection_vector<UndefinedAtom> _undefinedAtoms;
- atom_collection_vector<SharedLibraryAtom> _sharedLibraryAtoms;
- atom_collection_vector<AbsoluteAtom> _absoluteAtoms;
/// \brief DT_SONAME
StringRef _soname;
OpenPOWER on IntegriCloud