[lld] r257218 - Group members to match a comment. NFC.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 14:20:00 PST 2016


Author: ruiu
Date: Fri Jan  8 16:20:00 2016
New Revision: 257218

URL: http://llvm.org/viewvc/llvm-project?rev=257218&view=rev
Log:
Group members to match a comment. NFC.

Modified:
    lld/trunk/ELF/SymbolTable.h

Modified: lld/trunk/ELF/SymbolTable.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.h?rev=257218&r1=257217&r2=257218&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.h (original)
+++ lld/trunk/ELF/SymbolTable.h Fri Jan  8 16:20:00 2016
@@ -68,8 +68,6 @@ private:
   void resolve(SymbolBody *Body);
   std::string conflictMsg(SymbolBody *Old, SymbolBody *New);
 
-  std::vector<std::unique_ptr<ArchiveFile>> ArchiveFiles;
-
   // The order the global symbols are in is not defined. We can use an arbitrary
   // order, but it has to be reproducible. That is true even when cross linking.
   // The default hashing of StringRef produces different results on 32 and 64
@@ -85,7 +83,8 @@ private:
   // is used to uniquify them.
   llvm::DenseSet<StringRef> ComdatGroups;
 
-  // The symbol table owns all object and DSO files.
+  // The symbol table owns all file objects.
+  std::vector<std::unique_ptr<ArchiveFile>> ArchiveFiles;
   std::vector<std::unique_ptr<ObjectFile<ELFT>>> ObjectFiles;
   std::vector<std::unique_ptr<SharedFile<ELFT>>> SharedFiles;
 




More information about the llvm-commits mailing list