Fix Linux build broken by f06e6564
authorJames Henderson <james.henderson@sony.com>
Fri, 15 May 2020 14:35:52 +0000 (15:35 +0100)
committerJames Henderson <james.henderson@sony.com>
Fri, 15 May 2020 14:36:26 +0000 (15:36 +0100)
llvm/tools/llvm-readobj/ELFDumper.cpp

index a0ac37a..1bcf488 100644 (file)
@@ -5394,7 +5394,7 @@ void GNUStyle<ELFT>::printDependentLibs(const ELFFile<ELFT> *Obj) {
     SecEntries.push_back(NameOffset{Lib, Offset});
   };
 
-  printDependentLibsHelper(Obj, OnSectionStart, OnLibEntry);
+  this->printDependentLibsHelper(Obj, OnSectionStart, OnLibEntry);
   if (SectionStarted)
     PrintSection();
 }
@@ -6666,7 +6666,7 @@ void LLVMStyle<ELFT>::printELFLinkerOptions(const ELFFile<ELFT> *Obj) {
 template <class ELFT>
 void LLVMStyle<ELFT>::printDependentLibs(const ELFFile<ELFT> *Obj) {
   ListScope L(W, "DependentLibs");
-  printDependentLibsHelper(
+  this->printDependentLibsHelper(
       Obj, [](const Elf_Shdr &) {},
       [this](StringRef Lib, uint64_t) { W.printString(Lib); });
 }