[lld] r276133 - [ELF] Attempt to fix FreeBSD build bot (no template instantiation for getOutputSectionName)

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 08:42:35 PDT 2016


Author: evgeny777
Date: Wed Jul 20 10:42:34 2016
New Revision: 276133

URL: http://llvm.org/viewvc/llvm-project?rev=276133&view=rev
Log:
[ELF] Attempt to fix FreeBSD build bot (no template instantiation for getOutputSectionName)

Modified:
    lld/trunk/ELF/Writer.cpp

Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=276133&r1=276132&r2=276133&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Wed Jul 20 10:42:34 2016
@@ -1327,3 +1327,8 @@ template bool elf::needsPtLoad<ELF32LE>(
 template bool elf::needsPtLoad<ELF32BE>(OutputSectionBase<ELF32BE> *);
 template bool elf::needsPtLoad<ELF64LE>(OutputSectionBase<ELF64LE> *);
 template bool elf::needsPtLoad<ELF64BE>(OutputSectionBase<ELF64BE> *);
+
+template StringRef elf::getOutputSectionName<ELF32LE>(InputSectionBase<ELF32LE> *);
+template StringRef elf::getOutputSectionName<ELF32BE>(InputSectionBase<ELF32BE> *);
+template StringRef elf::getOutputSectionName<ELF64LE>(InputSectionBase<ELF64LE> *);
+template StringRef elf::getOutputSectionName<ELF64BE>(InputSectionBase<ELF64BE> *);




More information about the llvm-commits mailing list