Add yet more explicit template instantiations. These were always needed

but things happened to work on some platforms prior to r276133. This
should be the complete set (I hope).

llvm-svn: 276155
This commit is contained in:
Chandler Carruth 2016-07-20 18:47:33 +00:00
parent 74158b5061
commit 1d175fbc46
1 changed files with 13 additions and 0 deletions

View File

@ -1347,3 +1347,16 @@ 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> *);
template void elf::reportDiscarded<ELF32LE>(
InputSectionBase<ELF32LE> *,
const std::unique_ptr<elf::ObjectFile<ELF32LE>> &);
template void elf::reportDiscarded<ELF32BE>(
InputSectionBase<ELF32BE> *,
const std::unique_ptr<elf::ObjectFile<ELF32BE>> &);
template void elf::reportDiscarded<ELF64LE>(
InputSectionBase<ELF64LE> *,
const std::unique_ptr<elf::ObjectFile<ELF64LE>> &);
template void elf::reportDiscarded<ELF64BE>(
InputSectionBase<ELF64BE> *,
const std::unique_ptr<elf::ObjectFile<ELF64BE>> &);