[ELF] Attempt to fix FreeBSD build bot (no template instantiation for getOutputSectio...
authorEugene Leviant <evgeny.leviant@gmail.com>
Wed, 20 Jul 2016 15:42:34 +0000 (15:42 +0000)
committerEugene Leviant <evgeny.leviant@gmail.com>
Wed, 20 Jul 2016 15:42:34 +0000 (15:42 +0000)
llvm-svn: 276133

lld/ELF/Writer.cpp

index e10faf6..ad9602b 100644 (file)
@@ -1327,3 +1327,8 @@ template bool elf::needsPtLoad<ELF32LE>(OutputSectionBase<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> *);