summaryrefslogtreecommitdiffstats
path: root/lld/ELF/SymbolTable.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-04-08 17:35:55 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-04-08 17:35:55 +0000
commitcc1618e6689df872dcb005c5ceeecd38c56c36af (patch)
treec72632180c2c1bd3f4fce361587de3744199bf55 /lld/ELF/SymbolTable.h
parent1b62c758d0891ab42bf9bec6e9f26ec7bac67217 (diff)
downloadbcm5719-llvm-cc1618e6689df872dcb005c5ceeecd38c56c36af.tar.gz
bcm5719-llvm-cc1618e6689df872dcb005c5ceeecd38c56c36af.zip
ELF: De-template SharedFile. NFCI.
Differential Revision: https://reviews.llvm.org/D60305 llvm-svn: 357925
Diffstat (limited to 'lld/ELF/SymbolTable.h')
-rw-r--r--lld/ELF/SymbolTable.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h
index 9822ed75c3f..9f21c85f750 100644
--- a/lld/ELF/SymbolTable.h
+++ b/lld/ELF/SymbolTable.h
@@ -49,9 +49,8 @@ public:
SectionBase *Section, InputFile *File);
template <class ELFT>
- void addShared(StringRef Name, SharedFile<ELFT> &F,
- const typename ELFT::Sym &Sym, uint32_t Alignment,
- uint32_t VerdefIndex);
+ void addShared(StringRef Name, SharedFile &F, const typename ELFT::Sym &Sym,
+ uint32_t Alignment, uint32_t VerdefIndex);
template <class ELFT>
void addLazyArchive(StringRef Name, ArchiveFile &F,
@@ -80,7 +79,7 @@ public:
void handleDynamicList();
// Set of .so files to not link the same shared object file more than once.
- llvm::DenseMap<StringRef, InputFile *> SoNames;
+ llvm::DenseMap<StringRef, SharedFile *> SoNames;
private:
std::pair<Symbol *, bool> insertName(StringRef Name);
OpenPOWER on IntegriCloud