diff --git a/llvm/include/llvm/Object/ELF.h b/llvm/include/llvm/Object/ELF.h index 369b43a9d224..0fad59205cfc 100644 --- a/llvm/include/llvm/Object/ELF.h +++ b/llvm/include/llvm/Object/ELF.h @@ -752,7 +752,7 @@ void ELFFile::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();