[llvm] r241895 - llvm/Object/ELF.h: Appease g++-4.7.2.

NAKAMURA Takumi geek4civic at gmail.com
Fri Jul 10 01:43:42 PDT 2015


Author: chapuni
Date: Fri Jul 10 03:43:41 2015
New Revision: 241895

URL: http://llvm.org/viewvc/llvm-project?rev=241895&view=rev
Log:
llvm/Object/ELF.h: Appease g++-4.7.2.

Modified:
    llvm/trunk/include/llvm/Object/ELF.h

Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=241895&r1=241894&r2=241895&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Fri Jul 10 03:43:41 2015
@@ -752,7 +752,7 @@ void ELFFile<ELFT>::scanDynamicTable() {
     auto I = LoadMap.find(VAddr);
     if (I == LoadMap.end())
       return nullptr;
-    return base() + I.value() + (VAddr - I.start());
+    return this->base() + I.value() + (VAddr - I.start());
   };
 
   for (Elf_Dyn_Iter DynI = dynamic_table_begin(), DynE = dynamic_table_end();





More information about the llvm-commits mailing list