[lld] r274994 - Instantiate Thunk classes instead of the class member functions.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 9 15:06:47 PDT 2016
Author: ruiu
Date: Sat Jul 9 17:06:47 2016
New Revision: 274994
URL: http://llvm.org/viewvc/llvm-project?rev=274994&view=rev
Log:
Instantiate Thunk classes instead of the class member functions.
Modified:
lld/trunk/ELF/Thunks.cpp
Modified: lld/trunk/ELF/Thunks.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Thunks.cpp?rev=274994&r1=274993&r2=274994&view=diff
==============================================================================
--- lld/trunk/ELF/Thunks.cpp (original)
+++ lld/trunk/ELF/Thunks.cpp Sat Jul 9 17:06:47 2016
@@ -247,10 +247,10 @@ template void addThunk<ELF64LE>(uint32_t
template void addThunk<ELF64BE>(uint32_t, SymbolBody &,
InputSection<ELF64BE> &);
-template uint32_t Thunk<ELF32LE>::getVA() const;
-template uint32_t Thunk<ELF32BE>::getVA() const;
-template uint64_t Thunk<ELF64LE>::getVA() const;
-template uint64_t Thunk<ELF64BE>::getVA() const;
+template class Thunk<ELF32LE>;
+template class Thunk<ELF32BE>;
+template class Thunk<ELF64LE>;
+template class Thunk<ELF64BE>;
} // namespace elf
} // namespace lld
More information about the llvm-commits
mailing list