Lines Matching defs:reportError
99 static void reportError(Twine Message, int ExitCode = EXIT_FAILURE) {
123 reportError("unable to read symlink: " + Path);
127 reportError("unable to read symlink on windows: " + Path);
151 reportError(Filename + ": unsupported file type");
161 reportError("compare only supports two input files",
200 reportError("write only supports one input file");
210 reportError("merge requires at least two input files");
234 reportError("opening file '" + OutputLoc + ": " + EC.message());
258 reportError(IT->path() + ": " + EC.message());
279 reportError(Path + ": " + EC.message());
314 reportError(LinkTarget + ": " + EC.message());
343 reportError(Path + ": " + EC.message());
401 reportError(LinkSrc + " : " + EC.message());
404 reportError(LinkTarget + " : " + EC.message());
423 reportError(LibPath + " : " + EC.message());
438 reportError("stubify requires at least one input file");
441 reportError("cannot write multiple inputs into single output file");
446 reportError(PathName + ": " + EC.message());
450 reportError("cannot stubify directory'" + PathName +
459 reportError("deleting file '" + PathName + ": " + ec.message());
470 reportError(Action + " only supports one input file");
472 reportError(Action + " requires -arch <arch>");
496 Argc, Argv, OPT_UNKNOWN, Saver, [&](StringRef Msg) { reportError(Msg); });
519 reportError("error opening the file '" + OutputLoc + EC.message(),
529 reportError("deprecated filetype '" + FT + "' is not supported to write");
531 reportError("unsupported filetype '" + FT + "'");
538 reportError("unsupported architecture '" + ArchStr);
561 reportError(OS.str());