[lld] r290318 - Remove a typedef that is used only once.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 20:40:57 PST 2016
Author: ruiu
Date: Wed Dec 21 22:40:56 2016
New Revision: 290318
URL: http://llvm.org/viewvc/llvm-project?rev=290318&view=rev
Log:
Remove a typedef that is used only once.
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=290318&r1=290317&r2=290318&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.h (original)
+++ lld/trunk/ELF/SymbolTable.h Wed Dec 21 22:40:56 2016
@@ -22,8 +22,6 @@ class Lazy;
class OutputSectionBase;
struct Symbol;
-typedef llvm::CachedHashStringRef SymName;
-
// SymbolTable is a bucket of all known symbols, including defined,
// undefined, or lazy symbols (the last one is symbols in archive
// files whose archive members are not yet loaded).
@@ -118,7 +116,7 @@ private:
// but a bit inefficient.
// FIXME: Experiment with passing in a custom hashing or sorting the symbols
// once symbol resolution is finished.
- llvm::DenseMap<SymName, SymIndex> Symtab;
+ llvm::DenseMap<llvm::CachedHashStringRef, SymIndex> Symtab;
std::vector<Symbol *> SymVector;
// Comdat groups define "link once" sections. If two comdat groups have the
More information about the llvm-commits
mailing list