[lld] r260743 - Trying to fix the MSVC build.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 13:36:59 PST 2016
Author: rafael
Date: Fri Feb 12 15:36:59 2016
New Revision: 260743
URL: http://llvm.org/viewvc/llvm-project?rev=260743&view=rev
Log:
Trying to fix the MSVC build.
Modified:
lld/trunk/ELF/InputFiles.cpp
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=260743&r1=260742&r2=260743&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Fri Feb 12 15:36:59 2016
@@ -91,11 +91,11 @@ elf2::ObjectFile<ELFT>::ObjectFile(Memor
template <class ELFT>
typename elf2::ObjectFile<ELFT>::Elf_Sym_Range
-ObjectFile<ELFT>::getLocalSymbols() {
+elf2::ObjectFile<ELFT>::getLocalSymbols() {
return this->getSymbolsHelper(true);
}
-template <class ELFT> uint32_t ObjectFile<ELFT>::getMipsGp0() const {
+template <class ELFT> uint32_t elf2::ObjectFile<ELFT>::getMipsGp0() const {
if (MipsReginfo)
return MipsReginfo->Reginfo->ri_gp_value;
return 0;
@@ -103,7 +103,7 @@ template <class ELFT> uint32_t ObjectFil
template <class ELFT>
const typename elf2::ObjectFile<ELFT>::Elf_Sym *
-ObjectFile<ELFT>::getLocalSymbol(uintX_t SymIndex) {
+elf2::ObjectFile<ELFT>::getLocalSymbol(uintX_t SymIndex) {
uint32_t FirstNonLocal = this->Symtab->sh_info;
if (SymIndex >= FirstNonLocal)
return nullptr;
@@ -139,7 +139,7 @@ StringRef elf2::ObjectFile<ELFT>::getSht
template <class ELFT>
ArrayRef<typename elf2::ObjectFile<ELFT>::uint32_X>
-ObjectFile<ELFT>::getShtGroupEntries(const Elf_Shdr &Sec) {
+elf2::ObjectFile<ELFT>::getShtGroupEntries(const Elf_Shdr &Sec) {
const ELFFile<ELFT> &Obj = this->ELFObj;
ErrorOr<ArrayRef<uint32_X>> EntriesOrErr =
Obj.template getSectionContentsAsArray<uint32_X>(&Sec);
More information about the llvm-commits
mailing list