[lld] r361266 - [ELF] Deleted unused ComdatGroups member variable left by D61854
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 07:40:39 PDT 2019
Author: maskray
Date: Tue May 21 07:40:38 2019
New Revision: 361266
URL: http://llvm.org/viewvc/llvm-project?rev=361266&view=rev
Log:
[ELF] Deleted unused ComdatGroups member variable left by D61854
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=361266&r1=361265&r2=361266&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.h (original)
+++ lld/trunk/ELF/SymbolTable.h Tue May 21 07:40:38 2019
@@ -82,11 +82,6 @@ private:
llvm::DenseMap<llvm::CachedHashStringRef, int> SymMap;
std::vector<Symbol *> SymVector;
- // Comdat groups define "link once" sections. If two comdat groups have the
- // same name, only one of them is linked, and the other is ignored. This set
- // is used to uniquify them.
- llvm::DenseSet<llvm::CachedHashStringRef> ComdatGroups;
-
// A map from demangled symbol names to their symbol objects.
// This mapping is 1:N because two symbols with different versions
// can have the same name. We use this map to handle "extern C++ {}"
More information about the llvm-commits
mailing list