[lld] r295925 - Trying to fix the windows build.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 18:50:50 PST 2017


Author: rafael
Date: Wed Feb 22 20:50:50 2017
New Revision: 295925

URL: http://llvm.org/viewvc/llvm-project?rev=295925&view=rev
Log:
Trying to fix the windows build.

Modified:
    lld/trunk/ELF/InputSection.cpp

Modified: lld/trunk/ELF/InputSection.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.cpp?rev=295925&r1=295924&r2=295925&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.cpp (original)
+++ lld/trunk/ELF/InputSection.cpp Wed Feb 22 20:50:50 2017
@@ -473,8 +473,8 @@ void InputSection<ELFT>::relocateNonAllo
   }
 }
 
-template <class ELFT> ObjectFile<ELFT> *InputSectionBase::getFile() const {
-  return cast_or_null<ObjectFile<ELFT>>(File);
+template <class ELFT> elf::ObjectFile<ELFT> *InputSectionBase::getFile() const {
+  return cast_or_null<elf::ObjectFile<ELFT>>(File);
 }
 
 template <class ELFT>




More information about the llvm-commits mailing list