Skip to content

Commit

Permalink
[ELF] Explicit template instantiations for addFile
Browse files Browse the repository at this point in the history
Summary:
All other templated methods have explicit instantiations but this one is
missing. Discovered while building with a clang with inliner
modifications.

Reviewers: espindola

Subscribers: emaste, llvm-commits, davidxl

Differential Revision: https://reviews.llvm.org/D41847

llvm-svn: 322057
  • Loading branch information
Easwaran Raman committed Jan 9, 2018
1 parent 4d1dd6b commit bfa48a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lld/ELF/SymbolTable.cpp
Expand Up @@ -763,6 +763,11 @@ void SymbolTable::scanVersionScript() {
Sym->parseSymbolVersion();
}

template void SymbolTable::addFile<ELF32LE>(InputFile *);
template void SymbolTable::addFile<ELF32BE>(InputFile *);
template void SymbolTable::addFile<ELF64LE>(InputFile *);
template void SymbolTable::addFile<ELF64BE>(InputFile *);

template void SymbolTable::addSymbolWrap<ELF32LE>(StringRef);
template void SymbolTable::addSymbolWrap<ELF32BE>(StringRef);
template void SymbolTable::addSymbolWrap<ELF64LE>(StringRef);
Expand Down

0 comments on commit bfa48a1

Please sign in to comment.