Move template instantiations to end of the file.

llvm-svn: 259276
This commit is contained in:
Rui Ueyama 2016-01-29 23:59:15 +00:00
parent 0e19cf2dd8
commit 3c8d049d88
1 changed files with 5 additions and 5 deletions

View File

@ -76,11 +76,6 @@ template <class ELFT> bool isGnuIFunc(const SymbolBody &S) {
return false;
}
template bool isGnuIFunc<ELF32LE>(const SymbolBody &S);
template bool isGnuIFunc<ELF32BE>(const SymbolBody &S);
template bool isGnuIFunc<ELF64LE>(const SymbolBody &S);
template bool isGnuIFunc<ELF64BE>(const SymbolBody &S);
namespace {
class X86TargetInfo final : public TargetInfo {
public:
@ -1580,6 +1575,11 @@ bool needsMipsLocalGot(uint32_t Type, SymbolBody *Body) {
return !Config->Shared;
}
template bool isGnuIFunc<ELF32LE>(const SymbolBody &S);
template bool isGnuIFunc<ELF32BE>(const SymbolBody &S);
template bool isGnuIFunc<ELF64LE>(const SymbolBody &S);
template bool isGnuIFunc<ELF64BE>(const SymbolBody &S);
template uint32_t getMipsGpAddr<ELF32LE>();
template uint32_t getMipsGpAddr<ELF32BE>();
template uint64_t getMipsGpAddr<ELF64LE>();