[lld] r248249 - [ELF2] Fix gcc build

Denis Protivensky via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 01:14:46 PDT 2015


Author: denis-protivensky
Date: Tue Sep 22 03:14:46 2015
New Revision: 248249

URL: http://llvm.org/viewvc/llvm-project?rev=248249&view=rev
Log:
[ELF2] Fix gcc build

Remove explicit qualification in template instantiation.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=248249&r1=248248&r2=248249&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Tue Sep 22 03:14:46 2015
@@ -456,19 +456,19 @@ template ELFFile<ELF64LE>::uintX_t getSy
 template ELFFile<ELF64BE>::uintX_t getSymVA(const DefinedRegular<ELF64BE> *DR);
 
 template ELFFile<ELF32LE>::uintX_t
-lld::elf2::getLocalSymVA(const ELFFile<ELF32LE>::Elf_Sym *Sym,
-                         const ObjectFile<ELF32LE> &File);
+getLocalSymVA(const ELFFile<ELF32LE>::Elf_Sym *Sym,
+              const ObjectFile<ELF32LE> &File);
 
 template ELFFile<ELF32BE>::uintX_t
-lld::elf2::getLocalSymVA(const ELFFile<ELF32BE>::Elf_Sym *Sym,
-                         const ObjectFile<ELF32BE> &File);
+getLocalSymVA(const ELFFile<ELF32BE>::Elf_Sym *Sym,
+              const ObjectFile<ELF32BE> &File);
 
 template ELFFile<ELF64LE>::uintX_t
-lld::elf2::getLocalSymVA(const ELFFile<ELF64LE>::Elf_Sym *Sym,
-                         const ObjectFile<ELF64LE> &File);
+getLocalSymVA(const ELFFile<ELF64LE>::Elf_Sym *Sym,
+              const ObjectFile<ELF64LE> &File);
 
 template ELFFile<ELF64BE>::uintX_t
-lld::elf2::getLocalSymVA(const ELFFile<ELF64BE>::Elf_Sym *Sym,
-                         const ObjectFile<ELF64BE> &File);
+getLocalSymVA(const ELFFile<ELF64BE>::Elf_Sym *Sym,
+              const ObjectFile<ELF64BE> &File);
 }
 }




More information about the llvm-commits mailing list