reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Object/Binary.h
   95   StringRef getFileName() const;

References

lib/DebugInfo/DWARF/DWARFContext.cpp
   91       OS << ' ' << MachO->getFileName() << '\n';
 1507         AddressSize(Obj.getBytesInAddress()), FileName(Obj.getFileName()),
lib/DebugInfo/Symbolize/Symbolize.cpp
   64   StringRef ModuleName = Obj.getFileName();
  461                                     Objects.first->getFileName(), Session)) {
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
   50       G(std::make_unique<LinkGraph>(Obj.getFileName(), getPointerSize(Obj),
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  385       StringRef FileName = Obj.getFileName();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  191     MemoryBuffer::getMemBufferCopy(Obj.getData(), Obj.getFileName());
lib/Object/IRObjectFile.cpp
   82       return MemoryBufferRef(*Contents, Obj.getFileName());
lib/Object/MachOUniversal.cpp
   78   StringRef ObjectName = Parent->getFileName();
   95   StringRef ObjectName = Parent->getFileName();
lib/Object/WindowsResource.cpp
   71     return make_error<EmptyResError>(getFileName() + " contains no entries",
  121     return make_error<GenericBinaryError>(Owner->getFileName() +
  349   InputFilenames.push_back(WR->getFileName());
  358             Entry, InputFilenames[Node->Origin], WR->getFileName()));
tools/dsymutil/DwarfLinker.cpp
  518         Twine("unsupported object file type: ") + Obj.getFileName(), DMO);
tools/lld/COFF/InputFiles.cpp
  128               file->getFileName() + ": could not get the child of the archive");
  131               file->getFileName() +
  136     fatal(file->getFileName() +
tools/lld/lib/ReaderWriter/FileArchive.cpp
  144     std::string memberPath = (_archive->getFileName() + "("
  160     result->setArchivePath(_archive->getFileName());
  171                                        << _archive->getFileName() << "':\n");
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  277   return Symbolizer->symbolizeInlinedCode(Object->getFileName(), Address);
  519           Object->getFileName(), {VMAddress, Address.SectionIndex});
tools/llvm-cxxdump/llvm-cxxdump.cpp
  510         reportError(Arc->getFileName(), Buf);
  519       reportError(Arc->getFileName(), cxxdump_error::unrecognized_file_format);
tools/llvm-lipo/llvm-lipo.cpp
  181         reportError(A->getFileName(), ChildOrErr.takeError());
  184         reportError(("archive member " + Bin->getFileName() +
  188         reportError(("archive member " + Bin->getFileName() +
  194         reportError(("archive member " + O->getFileName() + " cputype (" +
  200                      ") (all members must match) " + FO->getFileName())
  209       reportError(A->getFileName(), std::move(Err));
  212                    A->getFileName() + " (can't determine architecture for it)")
  452                     " for file: " + B->getFileName() +
  508       reportError(Binary->getFileName(), MachOObjOrError.takeError());
  529       outs() << "Architectures in the fat file: " << Binary->getFileName()
  538       outs() << "Non-fat file: " << Binary->getFileName()
  555                 InputBinaries.front().getBinary()->getFileName() +
  565     reportError("fat input file " + UO->getFileName() +
  573                                sys::fs::can_execute(UO->getFileName())
  591       reportError(Entry.first->second->getFileName() + " and " +
  592                   S.getBinary()->getFileName() +
  636           reportError(InputBinary->getFileName(), BinaryOrError.takeError());
  663                   Twine(Offset) + " for " + S.getBinary()->getFileName() +
  688     return sys::fs::can_execute(S.getBinary()->getFileName());
  752       reportError("replacement file: " + ReplacementBinary->getFileName() +
  759                   Entry.first->second.getBinary()->getFileName() + ", " +
  760                   O->getFileName());
  778                 InputBinaries.front().getBinary()->getFileName() +
  801                 InputBinaries.front().getBinary()->getFileName() +
tools/llvm-nm/llvm-nm.cpp
 1192       error("File format has no dynamic symbol table", Obj.getFileName());
 1242           error(std::move(E), Obj.getFileName());
 1446         error(std::move(Err), MachO->getFileName());
 1500         error(std::move(BErr), MachO->getFileName());
 1560         error(std::move(LErr), MachO->getFileName());
 1630         error(std::move(WErr), MachO->getFileName());
 1738   CurrentFilename = Obj.getFileName();
 1837               outs() << Filename << "(" << O->getFileName() << ")";
 1839               outs() << O->getFileName();
 1846         error(std::move(Err), A->getFileName());
 1874                   outs() << "\n" << Obj.getFileName() << " (for architecture "
 1903                     ArchiveName = A->getFileName();
 1907                     outs() << "\n" << A->getFileName();
 1908                     outs() << "(" << O->getFileName() << ")";
 1920                 error(std::move(Err), A->getFileName());
 1972                   ArchiveName = A->getFileName();
 1974                   outs() << "\n" << A->getFileName() << "(" << O->getFileName()
 1974                   outs() << "\n" << A->getFileName() << "(" << O->getFileName()
 1981               error(std::move(Err), A->getFileName());
 2010           outs() << Obj.getFileName();
 2037               ArchiveName = A->getFileName();
 2041               outs() << "\n" << A->getFileName();
 2043                 outs() << "(" << F->getFileName() << ")";
 2048                 outs() << ":" << F->getFileName();
 2055           error(std::move(Err), A->getFileName());
tools/llvm-objcopy/MachO/MachOReader.cpp
   89       reportError(MachOObj.getFileName(), SecRef.takeError());
   96       reportError(MachOObj.getFileName(), E.takeError());
tools/llvm-objcopy/llvm-objcopy.cpp
  186       return createFileError(Ar.getFileName(), ChildNameOrErr.takeError());
  190       return createFileError(Ar.getFileName() + "(" + *ChildNameOrErr + ")",
  200       return createFileError(Ar.getFileName(), Member.takeError());
tools/llvm-objdump/COFFDump.cpp
  239     reportError(errorCodeToError(EC), Obj->getFileName());
  279     reportError(errorCodeToError(EC), Obj->getFileName());
  287     reportError(errorCodeToError(EC), Obj->getFileName());
  313     reportError(errorCodeToError(EC), Obj->getFileName());
  321     reportError(errorCodeToError(EC), Obj->getFileName());
  451     StringRef Name = unwrapOrError(Section.getName(), Obj->getFileName());
  464       reportError(std::move(E), Obj->getFileName());
  586     reportError(std::move(E), Obj->getFileName());
  663       reportError(Symbol.takeError(), coff->getFileName());
  667       reportError(errorCodeToError(EC), coff->getFileName());
  699           reportError(errorCodeToError(EC), coff->getFileName());
  715           reportError(errorCodeToError(EC), coff->getFileName());
  727           reportError(errorCodeToError(EC), coff->getFileName());
tools/llvm-objdump/ELFDump.cpp
  343     printDynamicSection(ELFObj->getELFFile(), Obj->getFileName());
  345     printDynamicSection(ELFObj->getELFFile(), Obj->getFileName());
  347     printDynamicSection(ELFObj->getELFFile(), Obj->getFileName());
  349     printDynamicSection(ELFObj->getELFFile(), Obj->getFileName());
  354     printSymbolVersionInfo(ELFObj->getELFFile(), Obj->getFileName());
  356     printSymbolVersionInfo(ELFObj->getELFFile(), Obj->getFileName());
  358     printSymbolVersionInfo(ELFObj->getELFFile(), Obj->getFileName());
  360     printSymbolVersionInfo(ELFObj->getELFFile(), Obj->getFileName());
tools/llvm-objdump/MachODump.cpp
  240       reportError(ATypeOrErr.takeError(), A.getObject()->getFileName());
  244       reportError(BTypeOrErr.takeError(), B.getObject()->getFileName());
  368   const StringRef FileName = MachOObj->getFileName();
  435   const StringRef FileName = O->getFileName();
  453       StringRef NameOrErr = unwrapOrError(Section.getName(), O->getFileName());
  537         reportError(Obj->getFileName(), "Expected X86_64_RELOC_UNSIGNED after "
  586         reportError(Obj->getFileName(), "Expected GENERIC_RELOC_PAIR after "
  607           reportError(Obj->getFileName(), "Expected GENERIC_RELOC_PAIR after "
  647           reportError(Obj->getFileName(), "Expected ARM_RELOC_PAIR after "
  725         outs() << unwrapOrError(Symbol.getName(), O->getFileName());
 1277   const StringRef FileName = O->getFileName();
 1516       StringRef SymName = unwrapOrError(RelocSym->getName(), O->getFileName());
 1553     StringRef BytesStr = unwrapOrError(Sect->getContents(), O->getFileName());
 1666         outs() << " " << unwrapOrError(RelocSym->getName(), O->getFileName());
 1774             unwrapOrError(Section.getContents(), O->getFileName());
 1864           unwrapOrError(Section.getContents(), O->getFileName());
 2354         ProcessMachO(Filename, O, O->getFileName());
 2383   auto Filename = UB->getFileName();
 2436                 ProcessMachO(Filename, O, O->getFileName(), ArchitectureName);
 2496               ProcessMachO(Filename, O, O->getFileName());
 2550             ProcessMachO(Filename, MachOOF, MachOOF->getFileName(),
 2672           unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2732             unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2770           unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2784           name = unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2854           unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2971         unwrapOrError(Reloc->getSymbol()->getName(), info->O->getFileName())
 3098               return unwrapOrError(Sym->getName(), info->O->getFileName())
 3129               return unwrapOrError(Sym->getName(), info->O->getFileName())
 3308           ((*(info->Sections))[SectIdx]).getContents(), info->O->getFileName());
 3362     StringRef Name = unwrapOrError(Symbol.getName(), info->O->getFileName());
 4121   StringRef BytesStr = unwrapOrError(S.getContents(), O->getFileName());
 4165   StringRef SectName = unwrapOrError(S.getName(), O->getFileName());
 4170   StringRef BytesStr = unwrapOrError(S.getContents(), O->getFileName());
 7457           unwrapOrError(Symbol.getType(), MachOOF->getFileName());
 7462             unwrapOrError(Symbol.getName(), MachOOF->getFileName());
 7500           unwrapOrError(Symbols[SymIdx].getName(), MachOOF->getFileName());
 7502           unwrapOrError(Symbols[SymIdx].getType(), MachOOF->getFileName());
 7556             Symbols[NextSymIdx].getType(), MachOOF->getFileName());
 7819     Name = unwrapOrError(Reloc.getSymbol()->getName(), Obj->getFileName());
 7846       unwrapOrError(Sym->second.getSection(), Obj->getFileName());
 7849     Name = unwrapOrError(Sym->second.getName(), Obj->getFileName());
 7895       unwrapOrError(CompactUnwind.getContents(), Obj->getFileName());
 8037       unwrapOrError(UnwindInfo.getContents(), Obj->getFileName());
10311     reportError(std::move(Err), Obj->getFileName());
10332     reportError(std::move(Err), Obj->getFileName());
10384     reportError(std::move(Err), Obj->getFileName());
10409     reportError(std::move(Err), Obj->getFileName());
10441     reportError(std::move(Err), Obj->getFileName());
10460       reportError(std::move(Err), info->O->getFileName());
tools/llvm-objdump/llvm-objdump.cpp
  483     reportError(Obj->getFileName(), "can't find target: " + Error);
  584                       Obj->getFileName());
  911     uint64_t Address = unwrapOrError(Symbol.getAddress(), Obj->getFileName());
  917     StringRef Name = unwrapOrError(Symbol.getName(), Obj->getFileName());
  922         unwrapOrError(Symbol.getSection(), Obj->getFileName());
  966       StringRef Name = unwrapOrError(Symbol.getName(), Obj->getFileName());
 1002       reportError(Obj.getFileName(),
 1136   const StringRef FileName = Obj->getFileName();
 1176         reportError(errorCodeToError(EC), Obj->getFileName());
 1182         reportError(errorCodeToError(EC), Obj->getFileName());
 1252     StringRef SectionName = unwrapOrError(Section.getName(), Obj->getFileName());
 1265         unwrapOrError(Section.getContents(), Obj->getFileName()));
 1424                       outs(), "", *STI, &SP, Obj->getFileName(), &Rels);
 1510             printRelocation(Obj->getFileName(), *RelCur, SectionAddr + Offset,
 1539     reportError(Obj->getFileName(),
 1547     reportError(Obj->getFileName(),
 1552     reportError(Obj->getFileName(),
 1556     reportError(Obj->getFileName(),
 1566     reportError(Obj->getFileName(), "no disassembler for target " + TripleName);
 1591     reportError(Obj->getFileName(),
 1600       reportError(Obj->getFileName(),
 1626       reportError(Obj->getFileName(),
 1634     StringRef SecName = unwrapOrError(P.first.getName(), Obj->getFileName());
 1646           reportError(std::move(E), Obj->getFileName());
 1663     reportError(Obj->getFileName(), "not a dynamic object");
 1680         reportError(std::move(E), Obj->getFileName());
 1702     StringRef Name = unwrapOrError(Section.getName(), Obj->getFileName());
 1726     StringRef Name = unwrapOrError(Section.getName(), Obj->getFileName());
 1755     StringRef Name = unwrapOrError(Section.getName(), Obj->getFileName());
 1769     StringRef Contents = unwrapOrError(Section.getContents(), Obj->getFileName());
 1806   const StringRef FileName = O->getFileName();
 1875           unwrapOrError(Section->getName(), O->getFileName());
 1962       ClangASTSection.getValue().getContents(), Obj->getFileName());
 2003       unwrapOrError(FaultMapSection.getValue().getContents(), Obj->getFileName());
 2027   reportError(O->getFileName(), "Invalid/Unsupported object file format");
 2032     reportError(O->getFileName(), "Invalid/Unsupported object file format");
 2036   uint64_t Address = unwrapOrError(O->getStartAddress(), O->getFileName());
 2116                   Obj->getFileName());
 2120                   Obj->getFileName());
 2125                   Obj->getFileName());
 2134       outs() << A->getFileName() << "(" << O->getFileName() << ")";
 2134       outs() << A->getFileName() << "(" << O->getFileName() << ")";
 2136       outs() << O->getFileName();
 2144   StringRef ArchiveName = A ? A->getFileName() : "";
 2194   StringRef ArchiveName = A ? A->getFileName() : "";
 2199            << ArchiveName << "(" << I->getFileName() << ")"
 2218         reportError(std::move(E), getFileNameForError(C, I), A->getFileName());
 2227                   A->getFileName());
 2230     reportError(std::move(Err), A->getFileName());
tools/llvm-pdbutil/InputFile.cpp
  335     return obj().getFileName();
tools/llvm-readobj/COFFDumper.cpp
  729         reportError(errorCodeToError(EC), Obj->getFileName());
  744         reportError(errorCodeToError(EC), Obj->getFileName());
  754     reportError(errorCodeToError(EC), Obj->getFileName());
  757     reportError(errorCodeToError(EC), Obj->getFileName());
  893     StringRef SectionName = unwrapOrError(Obj->getFileName(), S.getName());
  900     StringRef SectionName = unwrapOrError(Obj->getFileName(), S.getName());
  914       reportError(std::move(E), Obj->getFileName());
  916       reportError(std::move(E), Obj->getFileName());
  920       reportError(std::move(E), Obj->getFileName());
  926         reportError(std::move(E), Obj->getFileName());
  930         reportError(std::move(E), Obj->getFileName());
  938       reportError(std::move(E), Obj->getFileName());
  945       unwrapOrError(Obj->getFileName(), Section.getContents());
  957     reportError(std::move(E), Obj->getFileName());
  962                 Obj->getFileName());
  973       reportError(std::move(E), Obj->getFileName());
  975       reportError(std::move(E), Obj->getFileName());
  989                          Obj->getFileName());
  999                          Obj->getFileName());
 1030                     Obj->getFileName());
 1037         reportError(errorCodeToError(EC), Obj->getFileName());
 1043                     Obj->getFileName());
 1057         reportError(std::move(E), Obj->getFileName());
 1063         reportError(errorCodeToError(EC), Obj->getFileName());
 1070             Obj->getFileName(), CVStringTable.getString(FD.FrameFunc));
 1122       reportError(std::move(E), Obj->getFileName());
 1134                       Obj->getFileName());
 1173     reportError(std::move(E), Obj->getFileName());
 1178     reportError(std::move(E), Obj->getFileName());
 1188     reportError(std::move(E), Obj->getFileName());
 1194         Obj->getFileName(), CVStringTable.getString(FC.FileNameOffset));
 1208     reportError(std::move(E), Obj->getFileName());
 1230                 Obj->getFileName());
 1237                 Obj->getFileName());
 1239   return unwrapOrError(Obj->getFileName(),
 1253     StringRef SectionName = unwrapOrError(Obj->getFileName(), S.getName());
 1255       StringRef Data = unwrapOrError(Obj->getFileName(), S.getContents());
 1258         reportError(std::move(E), Obj->getFileName());
 1262                     Obj->getFileName());
 1270                     Obj->getFileName());
 1280           return reportError(std::move(E), Obj->getFileName());
 1284           return reportError(std::move(E), Obj->getFileName());
 1295   StringRef Data = unwrapOrError(Obj->getFileName(), Section.getContents());
 1301     reportError(std::move(E), Obj->getFileName());
 1306                 Obj->getFileName());
 1312     reportError(std::move(E), Obj->getFileName());
 1324     StringRef Name = unwrapOrError(Obj->getFileName(), Sec.getName());
 1359       StringRef Data = unwrapOrError(Obj->getFileName(), Sec.getContents());
 1371     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
 1403       reportError(SymbolNameOrErr.takeError(), Obj->getFileName());
 1482         reportError(errorCodeToError(EC), Obj->getFileName());
 1493         reportError(errorCodeToError(EC), Obj->getFileName());
 1497         reportError(Linked.takeError(), Obj->getFileName());
 1501         reportError(errorCodeToError(EC), Obj->getFileName());
 1511         reportError(errorCodeToError(EC), Obj->getFileName());
 1521         reportError(errorCodeToError(EC), Obj->getFileName());
 1538           reportError(errorCodeToError(EC), Obj->getFileName());
 1541           reportError(Res.takeError(), Obj->getFileName());
 1549         reportError(errorCodeToError(EC), Obj->getFileName());
 1554         reportError(ReferredSym.takeError(), Obj->getFileName());
 1558         reportError(errorCodeToError(EC), Obj->getFileName());
 1625       reportError(errorCodeToError(EC), Obj->getFileName());
 1628       reportError(errorCodeToError(EC), Obj->getFileName());
 1641       reportError(errorCodeToError(EC), Obj->getFileName());
 1645       reportError(errorCodeToError(EC), Obj->getFileName());
 1650       reportError(errorCodeToError(EC), Obj->getFileName());
 1661       reportError(errorCodeToError(EC), Obj->getFileName());
 1665       reportError(errorCodeToError(EC), Obj->getFileName());
 1669       reportError(errorCodeToError(EC), Obj->getFileName());
 1684       reportError(errorCodeToError(EC), Obj->getFileName());
 1688       reportError(errorCodeToError(EC), Obj->getFileName());
 1707       reportError(errorCodeToError(EC), Obj->getFileName());
 1709       reportError(errorCodeToError(EC), Obj->getFileName());
 1711       reportError(errorCodeToError(EC), Obj->getFileName());
 1721     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
 1726         unwrapOrError(Obj->getFileName(), Section.getContents());
 1750       reportError(errorCodeToError(EC), Obj->getFileName());
 1752       reportError(errorCodeToError(EC), Obj->getFileName());
 1762     StringRef Name = unwrapOrError(Obj->getFileName(), S.getName());
 1766     StringRef Ref = unwrapOrError(Obj->getFileName(), S.getContents());
 1772         reportError(std::move(E), Obj->getFileName());
 1773       auto &BaseTable = unwrapOrError(Obj->getFileName(), RSF.getBaseTable());
 1793     auto Entry = unwrapOrError(Obj->getFileName(), RSF.getTableEntry(Table, i));
 1801           unwrapOrError(Obj->getFileName(), RSF.getEntrySubDir(Entry));
 1820     auto Entry = unwrapOrError(Obj->getFileName(), RSF.getTableEntry(Table, i));
 1826           unwrapOrError(Obj->getFileName(), RSF.getEntryNameString(Entry));
 1838                     Obj->getFileName());
 1859           unwrapOrError(Obj->getFileName(), RSF.getEntrySubDir(Entry));
 1872           unwrapOrError(Obj->getFileName(), RSF.getEntryData(Entry));
 1878           unwrapOrError(Obj->getFileName(), RSF.getContents(DataEntry));
 1903       unwrapOrError(Obj->getFileName(), StackMapSection.getContents());
 1934       unwrapOrError(Obj->getFileName(), AddrsigSection.getContents());
 1946       reportError(createError(Err), Obj->getFileName());
 1950       reportError(Sym.takeError(), Obj->getFileName());
 1954       reportError(errorCodeToError(EC), Obj->getFileName());
tools/llvm-readobj/COFFImportDumper.cpp
   25   Writer.printString("File", File->getFileName());
tools/llvm-readobj/DwarfCFIEHPrinter.h
   52     reportError(std::move(E), ObjF->getFileName());
   67     reportError(std::move(E), ObjF->getFileName());
   75                     ObjF->getFileName());
   86     reportError(std::move(E), ObjF->getFileName());
   91       reportError(std::move(E), ObjF->getFileName());
  112       reportError(std::move(E), ObjF->getFileName());
  129         ObjF->getFileName());
  135                 ObjF->getFileName());
  141                 ObjF->getFileName());
  147                 ObjF->getFileName());
  167                   ObjF->getFileName());
  187     reportError(std::move(E), ObjF->getFileName());
tools/llvm-readobj/ELFDumper.cpp
  203                   ObjF->getFileName());
  209                      EntSize, ObjF->getFileName()});
  214                      S->sh_entsize, ObjF->getFileName()});
  343     StrTable = unwrapOrError(ObjF->getFileName(),
  345     Syms = unwrapOrError(ObjF->getFileName(), Obj->symbols(DotSymtabSec));
  347         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(DotSymtabSec));
  375     FileName = this->Dumper->getElfObject()->getFileName();
  747       ObjF->getFileName(), ObjF->getELFFile()->template getEntry<Elf_Versym>(
  790     reportError(createError("Invalid version entry"), ObjF->getFileName());
  804     reportError(createError("Invalid string offset"), ObjF->getFileName());
  813       unwrapOrError(ObjF->getFileName(), Symbol->getName(StrTable)));
  819         ObjF->getFileName(), ObjF->getELFFile()->symbols(DotSymtabSec));
  856       SectionIndex = unwrapOrError(ObjF->getFileName(),
  861         unwrapOrError(ObjF->getFileName(), Obj->getSection(SectionIndex));
  862     SectionName = unwrapOrError(ObjF->getFileName(), Obj->getSectionName(Sec));
 1435        unwrapOrError(ObjF->getFileName(), Obj->program_headers())) {
 1445        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 1457         ObjF->getFileName());
 1464         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(DynamicSec));
 1471                     ObjF->getFileName());
 1477                     ObjF->getFileName());
 1491   DynRegionInfo FromPhdr(ObjF->getFileName());
 1502   DynRegionInfo FromSec(ObjF->getFileName());
 1507                   DynamicSec->sh_size, sizeof(Elf_Dyn), ObjF->getFileName()});
 1519                     ObjF->getFileName());
 1532                   ObjF->getFileName());
 1536                   ObjF->getFileName());
 1547           ObjF->getFileName());
 1553         ObjF->getFileName());
 1563     : ObjDumper(Writer), ObjF(ObjF), DynRelRegion(ObjF->getFileName()),
 1564       DynRelaRegion(ObjF->getFileName()), DynRelrRegion(ObjF->getFileName()),
 1564       DynRelaRegion(ObjF->getFileName()), DynRelrRegion(ObjF->getFileName()),
 1565       DynPLTRelRegion(ObjF->getFileName()), DynSymRegion(ObjF->getFileName()),
 1565       DynPLTRelRegion(ObjF->getFileName()), DynSymRegion(ObjF->getFileName()),
 1566       DynamicTable(ObjF->getFileName()) {
 1569        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 1581             unwrapOrError(ObjF->getFileName(), Obj->getSectionName(&Sec));
 1586           reportWarning(E.takeError(), ObjF->getFileName());
 1590       ShndxTable = unwrapOrError(ObjF->getFileName(), Obj->getSHNDXTable(Sec));
 1701       reportWarning(std::move(Err), ObjF->getFileName());
 1743               ObjF->getFileName());
 1791                     ObjF->getFileName());
 2162     ARM::EHABI::PrinterContext<ELF32LE> Ctx(W, Obj, ObjF->getFileName(),
 2213     reportError(createError("No dynamic symbol section"), ObjF->getFileName());
 2232     MipsGOTParser<ELFT> Parser(Obj, ObjF->getFileName(), dynamic_table(),
 2260        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 2265         unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(&Sec));
 2638   const Elf_Shdr *Shdr = findSectionByName(*Obj, ObjF->getFileName(), ".reginfo");
 2644       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2658       findSectionByName(*Obj, ObjF->getFileName(), ".MIPS.options");
 2667       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2690   for (const auto &Sec : unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 2692         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(&Sec));
 2703       ObjF->getFileName(), Obj->getSectionContents(StackMapSection));
 3213         ElfObj->getFileName(), Obj->getSectionName(&Sec, this->WarningHandler));
 4744         Obj->getFileName());
 4757         Obj->getFileName());
 4781   StringRef FileStr = Obj->getFileName();
 4831   StringRef FileStr = Obj->getFileName();
 4903                   Obj->getFileName());
 4930                     Obj->getFileName());
 4954                     Obj->getFileName());
 5110       findSectionByName(*Obj, ObjF->getFileName(), ".MIPS.abiflags");
 5115       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 5118                 ObjF->getFileName());
 5350         ElfObj->getFileName(), Obj->getSectionName(&Sec, this->WarningHandler));
 6088       findSectionByName(*Obj, ObjF->getFileName(), ".MIPS.abiflags");
 6094       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
tools/llvm-readobj/MachODumper.cpp
  468     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
  509       W.printBinaryBlock("SectionData", unwrapOrError(Obj->getFileName(),
  519     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
  559         reportError(TargetNameOrErr.takeError(), Obj->getFileName());
  565       TargetName = unwrapOrError(Obj->getFileName(), SecI->getName());
  634     reportError(SecIOrErr.takeError(), Obj->getFileName());
  638     SectionName = unwrapOrError(Obj->getFileName(), SecI->getName());
  683       unwrapOrError(Obj->getFileName(), StackMapSection.getContents());
tools/llvm-readobj/ObjDumper.cpp
   56     StringRef SecName = unwrapOrError(Obj->getFileName(), SecRef.getName());
   72           Obj->getFileName());
   78           Obj->getFileName());
   89         unwrapOrError(Obj->getFileName(), Section.getName());
   97         unwrapOrError(Obj->getFileName(), Section.getContents());
  124         unwrapOrError(Obj->getFileName(), Section.getName());
  132         unwrapOrError(Obj->getFileName(), Section.getContents());
tools/llvm-readobj/WasmDumper.cpp
   94     SymName = unwrapOrError(Obj->getFileName(), SI->getName());
  137     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
tools/llvm-readobj/Win64EHDumper.cpp
  293     reportError(std::move(E), Ctx.COFF.getFileName());
  321       reportError(std::move(E), Ctx.COFF.getFileName());
tools/llvm-readobj/XCOFFDumper.cpp
  149     auto Relocations = unwrapOrError(Obj.getFileName(), Obj.relocations(Sec));
  157           Obj.getFileName(), Obj.getSymbolNameByIndex(Reloc.SymbolIndex));
  185       unwrapOrError(Obj.getFileName(), Obj.getCFileName(AuxEntPtr));
  331       unwrapOrError(Obj.getFileName(), Obj.getSymbolName(SymbolDRI));
  340       unwrapOrError(Obj.getFileName(), Obj.getSymbolSectionName(SymbolEntPtr));
  463                   Obj.getFileName());
tools/llvm-readobj/llvm-readobj.cpp
  441           A ? Twine(A->getFileName() + "(" + Obj->getFileName() + ")").str()
  441           A ? Twine(A->getFileName() + "(" + Obj->getFileName() + ")").str()
  442             : Obj->getFileName().str();
  558         reportError(std::move(E), Arc->getFileName());
  567                   Arc->getFileName());
  570     reportError(std::move(Err), Arc->getFileName());
  581       reportError(ObjOrErr.takeError(), UBinary->getFileName());
  592     reportError(std::move(Err), WinRes->getFileName());
tools/llvm-size/llvm-size.cpp
  390         error(name_or_err.takeError(), Obj->getFileName());
  428         error(name_or_err.takeError(), Obj->getFileName());
  556           error(std::move(E), a->getFileName(), C);
  564           outs() << o->getFileName() << "   (ex " << a->getFileName() << "):\n";
  564           outs() << o->getFileName() << "   (ex " << a->getFileName() << "):\n";
  566           outs() << a->getFileName() << "(" << o->getFileName() << "):\n";
  566           outs() << a->getFileName() << "(" << o->getFileName() << "):\n";
  570             outs() << a->getFileName() << "(" << o->getFileName() << ")\n";
  570             outs() << a->getFileName() << "(" << o->getFileName() << ")\n";
  572             outs() << o->getFileName() << " (ex " << a->getFileName() << ")\n";
  572             outs() << o->getFileName() << " (ex " << a->getFileName() << ")\n";
  577       error(std::move(Err), a->getFileName());
  596                   outs() << o->getFileName() << "  :\n";
  599                     outs() << o->getFileName() << " (for architecture "
  605                     outs() << o->getFileName() << " (for architecture "
  626                     error(std::move(E), UA->getFileName(), C,
  634                     outs() << o->getFileName() << "   (ex " << UA->getFileName()
  634                     outs() << o->getFileName() << "   (ex " << UA->getFileName()
  637                     outs() << UA->getFileName() << "(" << o->getFileName()
  637                     outs() << UA->getFileName() << "(" << o->getFileName()
  644                       outs() << UA->getFileName() << "(" << o->getFileName()
  644                       outs() << UA->getFileName() << "(" << o->getFileName()
  651                       outs() << o->getFileName() << " (ex " << UA->getFileName()
  651                       outs() << o->getFileName() << " (ex " << UA->getFileName()
  657                 error(std::move(Err), UA->getFileName());
  687                 outs() << o->getFileName() << "  :\n";
  690                   outs() << o->getFileName() << " (for architecture "
  696                   outs() << o->getFileName() << " (for architecture "
  715                   error(std::move(E), UA->getFileName(), C);
  721                   outs() << o->getFileName() << "   (ex " << UA->getFileName()
  721                   outs() << o->getFileName() << "   (ex " << UA->getFileName()
  724                   outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  724                   outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  730                     outs() << UA->getFileName() << "(" << o->getFileName()
  730                     outs() << UA->getFileName() << "(" << o->getFileName()
  733                     outs() << o->getFileName() << " (ex " << UA->getFileName()
  733                     outs() << o->getFileName() << " (ex " << UA->getFileName()
  739               error(std::move(Err), UA->getFileName());
  762             outs() << o->getFileName() << "  :\n";
  765               outs() << o->getFileName() << " (for architecture "
  772               outs() << o->getFileName() << " (for architecture "
  791               error(std::move(E), UA->getFileName(), C, MoreThanOneArch ?
  798               outs() << o->getFileName() << "   (ex " << UA->getFileName()
  798               outs() << o->getFileName() << "   (ex " << UA->getFileName()
  801               outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  801               outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  806                 outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  806                 outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  810                 outs() << o->getFileName() << " (ex " << UA->getFileName()
  810                 outs() << o->getFileName() << " (ex " << UA->getFileName()
  816           error(std::move(Err), UA->getFileName());
  830       outs() << o->getFileName() << "  :\n";
  832       outs() << o->getFileName() << ":\n";
  836         outs() << o->getFileName();