aboutsummaryrefslogtreecommitdiff
path: root/include/lld/Core/SharedLibraryFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lld/Core/SharedLibraryFile.h')
-rw-r--r--include/lld/Core/SharedLibraryFile.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/lld/Core/SharedLibraryFile.h b/include/lld/Core/SharedLibraryFile.h
index 2f84624287d8..a2907287862d 100644
--- a/include/lld/Core/SharedLibraryFile.h
+++ b/include/lld/Core/SharedLibraryFile.h
@@ -34,19 +34,19 @@ public:
// the import name (Windows).
virtual StringRef getDSOName() const = 0;
- const atom_collection<DefinedAtom> &defined() const override {
+ const AtomVector<DefinedAtom> &defined() const override {
return _definedAtoms;
}
- const atom_collection<UndefinedAtom> &undefined() const override {
+ const AtomVector<UndefinedAtom> &undefined() const override {
return _undefinedAtoms;
}
- const atom_collection<SharedLibraryAtom> &sharedLibrary() const override {
+ const AtomVector<SharedLibraryAtom> &sharedLibrary() const override {
return _sharedLibraryAtoms;
}
- const atom_collection<AbsoluteAtom> &absolute() const override {
+ const AtomVector<AbsoluteAtom> &absolute() const override {
return _absoluteAtoms;
}
@@ -54,10 +54,10 @@ protected:
/// only subclasses of SharedLibraryFile can be instantiated
explicit SharedLibraryFile(StringRef path) : File(path, kindSharedLibrary) {}
- atom_collection_vector<DefinedAtom> _definedAtoms;
- atom_collection_vector<UndefinedAtom> _undefinedAtoms;
- atom_collection_vector<SharedLibraryAtom> _sharedLibraryAtoms;
- atom_collection_vector<AbsoluteAtom> _absoluteAtoms;
+ AtomVector<DefinedAtom> _definedAtoms;
+ AtomVector<UndefinedAtom> _undefinedAtoms;
+ AtomVector<SharedLibraryAtom> _sharedLibraryAtoms;
+ AtomVector<AbsoluteAtom> _absoluteAtoms;
};
} // namespace lld