[lld] r295929 - Add missing template instantiations.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 19:18:03 PST 2017


Author: rafael
Date: Wed Feb 22 21:18:03 2017
New Revision: 295929

URL: http://llvm.org/viewvc/llvm-project?rev=295929&view=rev
Log:
Add missing template instantiations.

Modified:
    lld/trunk/ELF/InputSection.cpp

Modified: lld/trunk/ELF/InputSection.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.cpp?rev=295929&r1=295928&r2=295929&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.cpp (original)
+++ lld/trunk/ELF/InputSection.cpp Wed Feb 22 21:18:03 2017
@@ -818,3 +818,13 @@ template uint64_t
 InputSectionBase::getOffset(const DefinedRegular<ELF64LE> &Sym) const;
 template uint64_t
 InputSectionBase::getOffset(const DefinedRegular<ELF64BE> &Sym) const;
+
+template size_t InputSectionBase::getSize<ELF32LE>() const;
+template size_t InputSectionBase::getSize<ELF32BE>() const;
+template size_t InputSectionBase::getSize<ELF64LE>() const;
+template size_t InputSectionBase::getSize<ELF64BE>() const;
+
+template elf::ObjectFile<ELF32LE> *InputSectionBase::getFile<ELF32LE>() const;
+template elf::ObjectFile<ELF32BE> *InputSectionBase::getFile<ELF32BE>() const;
+template elf::ObjectFile<ELF64LE> *InputSectionBase::getFile<ELF64LE>() const;
+template elf::ObjectFile<ELF64BE> *InputSectionBase::getFile<ELF64BE>() const;




More information about the llvm-commits mailing list