diff --git a/lld/include/lld/ReaderWriter/FileArchive.h b/lld/include/lld/ReaderWriter/FileArchive.h index 9ef5021fc9eb..ca218d8dd390 100644 --- a/lld/include/lld/ReaderWriter/FileArchive.h +++ b/lld/include/lld/ReaderWriter/FileArchive.h @@ -140,6 +140,8 @@ private: atom_collection_vector _sharedLibraryAtoms; atom_collection_vector _absoluteAtoms; bool _isWholeArchive; + std::unordered_map + _symbolMemberMap; public: /// only subclasses of ArchiveLibraryFile can be instantiated @@ -166,9 +168,6 @@ public: _symbolMemberMap[name] = member; } } - - std::unordered_map _symbolMemberMap; }; // class FileArchive } // end namespace lld