summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/File.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/MachO/File.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/MachO/File.h')
-rw-r--r--lld/lib/ReaderWriter/MachO/File.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/lld/lib/ReaderWriter/MachO/File.h b/lld/lib/ReaderWriter/MachO/File.h
index 7aec63585e4..9cc7e37eb5a 100644
--- a/lld/lib/ReaderWriter/MachO/File.h
+++ b/lld/lib/ReaderWriter/MachO/File.h
@@ -227,22 +227,6 @@ public:
return exports(name, _installName);
}
- 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;
- }
-
/// Adds symbol name that this dylib exports. The corresponding
/// SharedLibraryAtom is created lazily (since most symbols are not used).
void addExportedSymbol(StringRef name, bool weakDef, bool copyRefs) {
@@ -333,10 +317,6 @@ private:
StringRef _installName;
uint32_t _currentVersion;
uint32_t _compatVersion;
- atom_collection_vector<DefinedAtom> _definedAtoms;
- atom_collection_vector<UndefinedAtom> _undefinedAtoms;
- atom_collection_vector<SharedLibraryAtom> _sharedLibraryAtoms;
- atom_collection_vector<AbsoluteAtom> _absoluteAtoms;
std::vector<ReExportedDylib> _reExportedDylibs;
mutable std::unordered_map<StringRef, AtomAndFlags> _nameToAtom;
};
OpenPOWER on IntegriCloud