Fix MSVC build.
authorRui Ueyama <ruiu@google.com>
Fri, 11 Mar 2016 18:56:05 +0000 (18:56 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 11 Mar 2016 18:56:05 +0000 (18:56 +0000)
llvm-svn: 263277

lld/ELF/Writer.cpp

index a3c24bf..7d14596 100644 (file)
@@ -307,7 +307,7 @@ void Writer<ELFT>::scanRelocs(
     InputSectionBase<ELFT> &C,
     iterator_range<const Elf_Rel_Impl<ELFT, isRela> *> Rels) {
   typedef Elf_Rel_Impl<ELFT, isRela> RelType;
-  const ObjectFile<ELFT> &File = *C.getFile();
+  const elf::ObjectFile<ELFT> &File = *C.getFile();
   for (const RelType &RI : Rels) {
     uint32_t SymIndex = RI.getSymbol(Config->Mips64EL);
     SymbolBody &OrigBody = File.getSymbolBody(SymIndex);