[PATCH] D41847: [ELF] Explicit template instantiations for addFile
Easwaran Raman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 8 18:13:27 PST 2018
eraman created this revision.
eraman added a reviewer: espindola.
Herald added a subscriber: emaste.
All other templated methods have explicit instantiations but this one is
missing. Discovered while building with a clang with inliner
modifications.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D41847
Files:
ELF/SymbolTable.cpp
Index: ELF/SymbolTable.cpp
===================================================================
--- ELF/SymbolTable.cpp
+++ ELF/SymbolTable.cpp
@@ -763,6 +763,11 @@
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41847.129019.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180109/48e54f3c/attachment.bin>
More information about the llvm-commits
mailing list