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

Declarations

include/llvm/Support/Error.h
 1223   friend Error createFileError(const Twine &, Error);

References

include/llvm/Support/Error.h
 1278   return createFileError(F, errorCodeToError(EC));
lib/DebugInfo/Symbolize/Symbolize.cpp
  464         return createFileError(PDBFileName, std::move(Err));
lib/Object/Archive.cpp
  514     return createFileError(Name, Buf.takeError());
tools/lld/COFF/DebugTypes.cpp
  180     return createFileError(ts.Name, errorCodeToError(std::error_code(
  191     return createFileError(
  201     return createFileError(
tools/lld/COFF/PDB.cpp
  565     return createFileError(
tools/llvm-dwp/llvm-dwp.cpp
  572         return createFileError(Input, EID.takeError());
  600         return createFileError(Input, EID.takeError());
tools/llvm-objcopy/Buffer.cpp
   43     return createFileError(getName(), BufferOrErr.takeError());
   56   return Err ? createFileError(getName(), std::move(Err)) : std::move(Err);
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  181       return createFileError(FileName, errorCodeToError(BufOrErr.getError()));
  221     return createFileError(Config.InputFilename, ObjOrErr.takeError());
  225     return createFileError(Config.InputFilename, std::move(E));
  228     return createFileError(Config.OutputFilename, std::move(E));
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  172     return createFileError(Config.InputFilename, std::move(Err));
  182       return createFileError(Config.InputFilename, std::move(Err));
  185   return createFileError(
  221     return createFileError(
  698       return createFileError(File, errorCodeToError(BufOrErr.getError()));
  787       return createFileError(
  800     return createFileError(Config.InputFilename, std::move(E));
  803     return createFileError(Config.InputFilename, std::move(E));
  808       return createFileError(Config.OutputFilename, std::move(E));
tools/llvm-objcopy/ELF/Object.h
  958                ? createFileError(MemBuf->getBufferIdentifier(), std::move(E))
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
   67     return createFileError(
   73     return createFileError(Config.InputFilename, std::move(E));
tools/llvm-objcopy/llvm-objcopy.cpp
  108     return createFileError(ArcName, std::move(E));
  186       return createFileError(Ar.getFileName(), ChildNameOrErr.takeError());
  190       return createFileError(Ar.getFileName() + "(" + *ChildNameOrErr + ")",
  200       return createFileError(Ar.getFileName(), Member.takeError());
  206     return createFileError(Config.InputFilename, std::move(Err));
  289       return createFileError(Config.InputFilename, BinaryOrErr.takeError());
tools/llvm-pdbutil/llvm-pdbutil.cpp
  751     ExitOnErr(createFileError(Path, errorCodeToError(ErrorOrBuffer.getError())));
tools/llvm-readobj/llvm-readobj.cpp
  378   handleAllErrors(createFileError(Input, std::move(Err)),
  392       createFileError(Input, std::move(Err)), [&](const ErrorInfoBase &EI) {
unittests/Support/ErrorTest.cpp
  874         consumeError(createFileError("file.bin", std::move(S)));
  882   Error FE1 = createFileError("file.bin", std::move(E1));
  886   Error FE2 = createFileError("file.bin", std::move(E2));
  892   Error FE3 = createFileError("file.bin", std::move(E3));
  901       joinErrors(createFileError("file.bin", make_error<CustomError>(41)),
  902                  createFileError("file2.bin", make_error<CustomError>(42)));