From: James Henderson Date: Fri, 15 May 2020 14:35:52 +0000 (+0100) Subject: Fix Linux build broken by f06e6564 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=436c5750cf36697afb17468908cbb7303b229e1f;p=platform%2Fupstream%2Fllvm.git Fix Linux build broken by f06e6564 --- diff --git a/llvm/tools/llvm-readobj/ELFDumper.cpp b/llvm/tools/llvm-readobj/ELFDumper.cpp index a0ac37a..1bcf488 100644 --- a/llvm/tools/llvm-readobj/ELFDumper.cpp +++ b/llvm/tools/llvm-readobj/ELFDumper.cpp @@ -5394,7 +5394,7 @@ void GNUStyle::printDependentLibs(const ELFFile *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::printELFLinkerOptions(const ELFFile *Obj) { template void LLVMStyle::printDependentLibs(const ELFFile *Obj) { ListScope L(W, "DependentLibs"); - printDependentLibsHelper( + this->printDependentLibsHelper( Obj, [](const Elf_Shdr &) {}, [this](StringRef Lib, uint64_t) { W.printString(Lib); }); }