summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-02-23 03:18:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-02-23 03:18:03 +0000
commit277155b0548c44bcae43c80621c5807e7e9e77b2 (patch)
tree1ddcf358c3e00267d821f2db3674d5e082d9439f
parent3e9ce44eee72818c753184afc77b0537b4709c69 (diff)
downloadbcm5719-llvm-277155b0548c44bcae43c80621c5807e7e9e77b2.tar.gz
bcm5719-llvm-277155b0548c44bcae43c80621c5807e7e9e77b2.zip
Add missing template instantiations.
llvm-svn: 295929
-rw-r--r--lld/ELF/InputSection.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 7fa59a7e781..5ea1a6b1ac5 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -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;
OpenPOWER on IntegriCloud