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

References

examples/Kaleidoscope/Chapter8/toy.cpp
 1251     errs() << "Could not open file: " << EC.message();
include/llvm/Object/ELFObjectFile.h
  310       report_fatal_error(errorToErrorCode(RelSecOrErr.takeError()).message());
  405       report_fatal_error(errorToErrorCode(Ret.takeError()).message());
  838     report_fatal_error(errorToErrorCode(SymSecOrErr.takeError()).message());
  930     report_fatal_error(errorToErrorCode(Ret.takeError()).message());
  940     report_fatal_error(errorToErrorCode(Ret.takeError()).message());
include/llvm/Support/Error.h
 1107   void log(raw_ostream &OS) const override { OS << EC.message(); }
lib/Analysis/ModuleSummaryAnalysis.cpp
  819                          ModuleSummaryDotFile + ": " + EC.message() + "\n");
lib/AsmParser/Parser.cpp
   62                        "Could not open input file: " + EC.message());
   92                        "Could not open input file: " + EC.message());
  140                        "Could not open input file: " + EC.message());
lib/CodeGen/MIRParser/MIRParser.cpp
  934                          "Could not open input file: " + EC.message());
lib/ExecutionEngine/SectionMemoryManager.cpp
  149       *ErrMsg = ec.message();
  159       *ErrMsg = ec.message();
lib/FuzzMutate/FuzzerCLI.cpp
  158       errs() << "Error reading file: " << Arg << ": " << EC.message() << "\n";
lib/IR/Core.cpp
  400     *ErrorMessage = strdup(EC.message().c_str());
  409     std::string E = "Error printing to file: " + dest.error().message();
 4004     *OutMessage = strdup(EC.message().c_str());
 4015     *OutMessage = strdup(EC.message().c_str());
lib/IRReader/IRReader.cpp
   60                        "Could not open input file: " + EC.message());
  103                        "Could not open input file: " + EC.message());
lib/LTO/Caching.cpp
   68                          ": " + EC.message() + "\n");
   97                              MBOrErr.getError().message() + "\n");
lib/LTO/LTO.cpp
 1185                    << "': " << EC.message() << '\n';
lib/LTO/LTOBackend.cpp
   91         reportOpenError(Path, EC.message());
  111       reportOpenError(Path, EC.message());
  117       reportOpenError(Path, EC.message());
  326                          EC.message());
  338       report_fatal_error("Failed to open " + DwoFile + ": " + EC.message());
lib/LTO/LTOCodeGenerator.cpp
  235     ErrMsg += Path.str() + ": " + EC.message();
  246     ErrMsg += Path.str() + ": " + Out.os().error().message();
  267     emitError(EC.message());
  278                objFile.os().error().message())
  306     emitError(EC.message());
lib/LTO/LTOModule.cpp
  114     Context.emitError(EC.message());
  136     Context.emitError(EC.message());
  176     Context.emitError(EC.message());
lib/LTO/ThinLTOCodeGenerator.cpp
 1117                      << "': " << EC.message() << "\n";
lib/MC/MCParser/DarwinAsmParser.cpp
  785                                SecureLogFile + " (" + EC.message() + ")");
lib/ObjectYAML/yaml2obj.cpp
   31       ErrHandler("failed to parse YAML input: " + EC.message());
lib/ProfileData/GCOV.cpp
  624       errs() << Filename << ": " << EC.message() << "\n";
  711     errs() << EC.message() << "\n";
lib/ProfileData/SampleProfReader.cpp
  302     reportError(0, EC.message());
  315     reportError(0, EC.message());
  329     reportError(0, EC.message());
  988   reportError(0, EC.message());
 1353       std::string Msg = "Could not create remapper: " + EC.message();
lib/Support/Error.cpp
   99     report_fatal_error(EC.message());
  125     OS << EC.message();
lib/Support/FileUtilities.cpp
  188       *Error = EC.message();
  196       *Error = EC.message();
lib/Support/GraphWriter.cpp
   84     errs() << "Error: " << EC.message() << "\n";
lib/Support/Host.cpp
   61                  << "/proc/cpuinfo: " << EC.message() << "\n";
 1240                  << "/proc/cpuinfo: " << EC.message() << "\n";
lib/Support/LockFileManager.cpp
  272     std::string ErrCodeMsg = ErrorCode.message();
lib/Support/SpecialCaseList.cpp
  104       Error = (Twine("can't open file '") + Path + "': " + EC.message()).str();
lib/Support/raw_ostream.cpp
  633     report_fatal_error("IO failure on output stream: " + error().message(),
lib/TableGen/Main.cpp
   73                                   EC.message() + "\n");
   91                                   "': " + EC.message() + "\n");
  133                                   EC.message() + "\n");
lib/Target/TargetMachineC.cpp
  224     *ErrorMessage = strdup(EC.message().c_str());
lib/Target/X86/X86InsertPrefetch.cpp
  164     std::string Msg = "Could not open profile: " + EC.message();
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
   61     llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
  136                  << errorToErrorCode(Def.takeError()).message();
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  150                  << ": failed to open: " << EC.message() << '\n';
lib/Transforms/IPO/SampleProfile.cpp
 1683     std::string Msg = "Could not open profile: " + EC.message();
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  684                      EC.message());
lib/Transforms/Utils/SymbolRewriter.cpp
  257                        Mapping.getError().message());
tools/bugpoint/ExecutionDriver.cpp
  310       errs() << ToolName << ": Error making unique filename: " << EC.message()
  335     errs() << ToolName << ": Error making unique filename: " << EC.message()
tools/bugpoint/Miscompilation.cpp
  953            << "Error making unique filename: " << EC.message() << "\n";
  971            << "Error making unique filename: " << EC.message() << "\n";
 1044     errs() << getToolName() << "Error making unique filename: " << EC.message()
 1060     errs() << getToolName() << "Error making unique filename: " << EC.message()
tools/bugpoint/OptimizerDriver.cpp
  141            << ": Error making unique filename: " << EC.message() << "\n";
  172       errs() << Path.getError().message() << "\n";
  188       errs() << Path.getError().message() << "\n";
tools/bugpoint/ToolRunner.cpp
  119     errs() << "Error making unique filename: " << EC.message() << "\n";
  228     Message = LLIPath.getError().message() + "\n";
  391               "' in PATH: " + Path.getError().message() + "\n";
  442     errs() << "Error making unique filename: " << EC.message() << "\n";
  515     Message = LLCPath.getError().message() + "\n";
  599     Message = LLIPath.getError().message() + "\n";
  668     errs() << "Error making unique filename: " << EC.message() << "\n";
  772     errs() << "Error making unique filename: " << EC.message() << "\n";
  848               CCPath.getError().message() + "\n";
  857                 Path.getError().message() + "\n";
tools/clang/lib/ARCMigrate/FileRemapper.cpp
  126     return report(EC.message(), Diag);
  182       return report(EC.message(), Diag);
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1958           << EC.message();
tools/clang/lib/AST/InheritViz.cpp
  143     llvm::errs() << "Error: " << EC.message() << "\n";
tools/clang/lib/Basic/SourceManager.cpp
  184                                 BufferOrError.getError().message());
  187           << ContentsEntry->getName() << BufferOrError.getError().message();
tools/clang/lib/CodeGen/BackendUtil.cpp
  125       Diags.Report(diag::err_fe_unable_to_open_output) << Path << EC.message();
 1405              << "': " << MBOrErr.getError().message() << "\n";
tools/clang/lib/CodeGen/CGCUDANV.cpp
  522           << CudaGpuBinaryFileName << EC.message();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2662         << PLoc.getFilename() << EC.message();
 4235         << CGM.getLangOpts().OMPHostIRFile << EC.message();
 4247         << CGM.getLangOpts().OMPHostIRFile << EC.message();
tools/clang/lib/CodeGen/CodeGenAction.cpp
  907             << F.Filename << BCBuf.getError().message();
tools/clang/lib/Driver/Compilation.cpp
  123         << EC.message();
  167             << EC.message();
tools/clang/lib/Driver/Driver.cpp
 1392         << "Error generating run script: " << Script << " " << EC.message();
 4418         Diag(clang::diag::err_unable_to_make_temp) << EC.message();
 4657     Diag(clang::diag::err_unable_to_make_temp) << EC.message();
 4668     Diag(clang::diag::err_unable_to_make_temp) << EC.message();
tools/clang/lib/Driver/Job.cpp
  361       *ErrMsg = EC.message();
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1928                                                        << EC.message();
 1990     Driver.Diag(diag::err_drv_compilationdatabase) << Dir << Err.message();
 2001     Driver.Diag(diag::err_drv_compilationdatabase) << Path << Err.message();
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
 1360     C.getDriver().Diag(clang::diag::err_unable_to_make_temp) << EC.message();
tools/clang/lib/Format/Format.cpp
 2587       return make_string_error("Error parsing -style: " + ec.message());
 2601     return make_string_error(EC.message());
 2634         return make_string_error(EC.message());
 2644                                  ec.message());
tools/clang/lib/Frontend/ASTUnit.cpp
  741     *ErrorStr = Buffer.getError().message();
tools/clang/lib/Frontend/CompilerInstance.cpp
  231           << DiagOpts->DiagnosticLogFile << EC.message();
  653             << OF.TempFilename << OF.Filename << ec.message();
  694                                                                 << EC.message();
  869                                                  << MB.getError().message();
  880       Diags.Report(diag::err_fe_error_reading_stdin) << EC.message();
 1013           << StatsFile << EC.message();
 2007         << ModuleFileName << EC.message();
tools/clang/lib/Frontend/DependencyFile.cpp
  316     Diags.Report(diag::err_fe_error_opening) << OutputFile << EC.message();
tools/clang/lib/Frontend/DependencyGraph.cpp
  106                                                             << EC.message();
tools/clang/lib/Frontend/FrontendAction.cpp
  529       << M->getFullModuleName() << Err.message();
tools/clang/lib/Frontend/HeaderIncludeGen.cpp
  107           << EC.message();
tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp
  108                                                               << EC.message();
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  787         << State->OutputFile << EC.message();
tools/clang/lib/Lex/HeaderSearch.cpp
  334           << FileName << EC.message();
tools/clang/lib/Rewrite/Rewriter.cpp
  445         << TempFilename << Filename << ec.message();
tools/clang/lib/Serialization/ASTReader.cpp
 4993         << ASTFileName << Buffer.getError().message();
tools/clang/lib/Serialization/ModuleManager.cpp
  192       ErrorStr = Buf.getError().message();
tools/clang/lib/StaticAnalyzer/Checkers/Yaml.h
   49                                         "a valid yaml file: " + ec.message());
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  169                    << Directory << "': " << ec.message() << '\n';
  226                        << "' absolute: " << EC.message() << '\n';
  232                        << "': " << EC.message() << '\n';
  254                            << "': " << EC.message() << '\n';
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  650     llvm::errs() << "warning: could not create file: " << EC.message() << '\n';
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  347     llvm::errs() << "warning: could not create file: " << EC.message() << '\n';
tools/clang/lib/Tooling/CompilationDatabase.cpp
  368     ErrorMsg = "Error while opening fixed database: " + Result.message();
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
  203     ErrorMessage = "Error while opening JSON database: " + Result.message();
tools/clang/lib/Tooling/Tooling.cpp
  486                    << CWD.getError().message() << "\n";
  563                    << EC.message() << "\n";
tools/clang/tools/clang-format/ClangFormat.cpp
  381     errs() << EC.message() << "\n";
  487       llvm::errs() << EC.message() << "\n";
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  504           llvm::errs() << EC.message() << "\n";
tools/clang/tools/clang-rename/ClangRename.cpp
  109              << Buffer.getError().message() << "\n";
  193         llvm::errs() << "Error opening output file: " << EC.message() << '\n';
tools/clang/tools/driver/cc1as_main.cpp
  321     Diags.Report(diag::err_fe_unable_to_open_output) << Path << EC.message();
  340     Error = EC.message();
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  167                  << Buffer.getError().message() << "\n";
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
   63       errs() << "Error reading " << I->path() << ": " << BufferError.message()
  107       errs() << "Error reading " << I->path() << ": " << BufferError.message()
  254       errs() << Error.message() << "\n";
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
  120            << "': " << ErrorCode.message() << "\n";
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
  110                  << WhiteListPatterns.getError().message() << "\n";
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  896                                        FileErr.message());
  945                                        FileErr.message());
  978                                        ": " + FileErr.message() + "\n");
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  308         llvm::errs() << "Error opening info file: " << FileErr.message()
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  119     llvm::errs() << "Can't open '" << OutputFile << "': " << EC.message()
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  209         llvm::errs() << "Couldn't find YAML db: " << DB.getError().message()
  281       errs() << EC.message() << "\n";
  415              << Buffer.getError().message() + "\n";
tools/clang/tools/extra/clang-move/Move.cpp
   91     llvm::errs() << "Warning: could not make absolute file: '" << EC.message()
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
  124                              Twine(EC.message()));
  157       llvm::errs() << "Failed to create " << NewCC << ": " << EC.message()
  165       llvm::errs() << "Failed to create " << NewHeader << ": " << EC.message()
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  194                        << Buffer.getError().message() << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  297       llvm::errs() << "Can't read " << ConfigFile << ": " << EC.message()
  311                      << ParsedOptions.getError().message() << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.cpp
   64                  << "': " << EC.message() << "\n";
   72                  << "': " << EC.message() << "\n";
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  262     llvm::errs() << "Invalid LineFilter: " << Err.message() << "\n\nUsage:\n";
  299                    << ParsedConfig.getError().message() << "\n";
  314                  << OverlayFile << "': " << Buffer.getError().message()
  355                    << EC.message() << "\n";
  449       llvm::errs() << "Error opening output file: " << EC.message() << '\n';
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  114          EC.message());
  137          StdErrPath, BufOrError.getError().message());
tools/clang/tools/extra/clangd/SourceCode.cpp
  640            EC.message());
tools/clang/tools/extra/clangd/index/Background.cpp
  128          LS.AbsolutePath, Buf.getError().message());
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp
   55            DiskShardRoot, EC.message());
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  494                    << EC.message();
  512                    << EC.message();
  537       log("Working directory unknown: {0}", Err.message());
  559                      << EC.message() << ". The argument will be ignored.\n";
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
   87           << "': " << EC.message() << '\n';
   97         << "': " << EC.message() << '\n';
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
  274                  << EC.message() << "\n";
tools/clang/tools/extra/pp-trace/PPTrace.cpp
  157     error(EC.message());
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp
  259       reportBad(CXLoadDiag_CannotLoad, EC.message());
  262       reportInvalidFile(EC.message());
tools/dsymutil/DwarfLinker.cpp
 2605         warn(Err.message());
tools/dsymutil/MachOUtils.cpp
   62     WithColor::error() << "lipo: " << Path.getError().message() << "\n";
tools/dsymutil/SymbolMap.cpp
  120     WithColor::warning() << SymbolMapPath << ": " << EC.message()
tools/dsymutil/dsymutil.cpp
  506                          << "': " << EC.message() << '\n';
  586           WithColor::error() << OutputFile << ": " << EC.message();
tools/gold/gold-plugin.cpp
  519       message(LDPL_ERROR, EC.message().c_str());
  798               EC.message().c_str());
  807               EC.message().c_str());
  953               (NewModulePath + ".thinlto.bc").c_str(), EC.message().c_str());
  966               (NewModulePath + ".imports").c_str(), EC.message().c_str());
  981             options::thinlto_linked_objects_file.c_str(), EC.message().c_str());
 1121                 EC.message().c_str());
 1134               EC.message().c_str());
tools/llc/llc.cpp
  247     WithColor::error() << EC.message() << '\n';
  485       WithColor::error(errs(), argv[0]) << EC.message() << '\n';
tools/lld/COFF/Driver.cpp
  236           "could not open '" + pathStr + "': " + mbOrErr.second.message();
  784           ec.message());
 1728     error("cannot open output file " + config->outputFile + ": " + e.message());
tools/lld/COFF/DriverUtils.cpp
   59       fatal("unable to find " + prog + " in PATH: " + ec.message());
  320       fatal("cannot create a temporary file: " + ec.message());
  327         fatal("failed to open " + path + ": " + ec.message());
  415     fatal("failed to open " + Default.path + ": " + ec.message());
  516     fatal("failed to create manifest: " + ec.message());
tools/lld/COFF/InputFiles.cpp
  205     fatal("getSection failed: #" + Twine(i) + ": " + ec.message());
tools/lld/COFF/LTO.cpp
   51     error("cannot open " + file + ": " + ec.message());
tools/lld/COFF/MapFile.cpp
   97     fatal("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/COFF/MinGW.cpp
  154     fatal("cannot open " + name + ": " + ec.message());
tools/lld/Common/Strings.cpp
   79     error("cannot create " + path + ": " + ec.message());
tools/lld/ELF/CallGraphSort.cpp
  239       error("cannot open " + config->printSymbolOrder + ": " + ec.message());
tools/lld/ELF/Driver.cpp
 1716     error("cannot open output file " + config->outputFile + ": " + e.message());
 1718     error("cannot open map file " + config->mapFile + ": " + e.message());
tools/lld/ELF/InputFiles.cpp
  113     error("cannot open " + path + ": " + ec.message());
tools/lld/ELF/LTO.cpp
   55     error("cannot open " + file + ": " + ec.message());
tools/lld/ELF/MapFile.cpp
  149     error("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/ELF/Writer.cpp
 2730       error("entropy source failure: " + ec.message());
tools/lld/include/lld/Common/ErrorHandler.h
  132     fatal(ec.message());
  145     fatal(prefix() + ": " + ec.message());
tools/lld/lib/Core/Resolver.cpp
  227                    << ": " << ec.message() << "\n";
tools/lld/lib/Driver/DarwinLdDriver.cpp
  573       warn(ec.message() + ", processing '-dependency_info " +
  660       error(ec.message() + ", processing '-exported_symbols_list " +
  686       error(ec.message() + ", processing '-unexported_symbols_list " +
  971       error(ec.message() + ", processing '-order_file " + orderFile->getValue()
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  817                                           + ec.message());
tools/lld/wasm/InputFiles.cpp
   50     error("cannot open " + path + ": " + ec.message());
tools/lldb/source/Core/Debugger.cpp
 1183         error_stream << "Unable to open log file: " << ec.message();
tools/lldb/source/Host/linux/Support.cpp
   21     LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message());
   31     LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message());
   41     LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message());
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  249               errorToErrorCode(binary.takeError()).message().c_str());
  979                 ec.message().c_str());
tools/lldb/source/Target/ModuleCache.cpp
  204                   err_code.message().c_str());
tools/lldb/source/Target/Platform.cpp
  750       LLDB_LOG(log, "error: {0}", ec.message());
tools/lldb/source/Utility/Status.cpp
   48       m_string(EC.message()) {}
tools/lldb/source/Utility/StructuredData.cpp
   45                                     buffer_or_error.getError().message());
tools/lldb/tools/lldb-server/LLDBServerUtilities.cpp
   32         log_file, EC.message());
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  183     llvm::errs() << "Error getting current directory: " << ec.message() << "\n";
tools/lldb/tools/lldb-test/lldb-test.cpp
  301                       MB.getError().message());
tools/lldb/unittests/TestingSupport/TestUtilities.cpp
   64                         << "`: " << EC.message();
tools/lli/lli.cpp
  732                << " for dumping.\nError:" << EC.message() << "\n";
tools/llvm-ar/llvm-ar.cpp
  149     fail(EC.message());
  150   fail(Context + ": " + EC.message());
  967     fail("error opening '" + ArchiveName + "': " + EC.message());
tools/llvm-as/llvm-as.cpp
   87     errs() << EC.message() << '\n';
tools/llvm-cat/llvm-cat.cpp
   91            << EC.message();
tools/llvm-cov/CodeCoverage.cpp
  189     error(EC.message(), Path);
  220         warning(Status.getError().message(), F->path());
  244     error(EC.message(), SourceFile);
  451     error(InputPath, EC.message());
  469     error(OutputPath, EC.message());
  492     error(OutputPath, BufOrError.getError().message());
  697               DemanglerPathOrErr.getError().message());
  860       error("Could not create output directory!", E.message());
tools/llvm-cov/TestingSupport.cpp
   93     errs() << "error: " << Err.message() << "\n";
tools/llvm-cov/gcov.cpp
   49     errs() << GCNO << ": " << EC.message() << "\n";
   62       errs() << GCDA << ": " << EC.message() << "\n";
tools/llvm-cvtres/llvm-cvtres.cpp
   76   reportError(Twine(Input) + ": " + EC.message() + ".\n");
   82   reportError(EC.message() + ".\n");
tools/llvm-cxxdump/llvm-cxxdump.cpp
   46   WithColor::error(outs(), "") << "reading file: " << EC.message() << ".\n";
   76   reportError(Input, EC.message());
tools/llvm-cxxmap/llvm-cxxmap.cpp
   73   exitWithError(EC.message(), Whence);
tools/llvm-dis/llvm-dis.cpp
  191     errs() << EC.message() << '\n';
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  232   WithColor::error() << Prefix << ": " << EC.message() << "\n";
tools/llvm-dwp/llvm-dwp.cpp
  713     return error(Twine(OutputFilename) + ": " + EC.message(), Context);
tools/llvm-exegesis/lib/SnippetFile.cpp
  125                                EC.message());
tools/llvm-extract/llvm-extract.cpp
  365     errs() << EC.message() << '\n';
tools/llvm-link/llvm-link.cpp
  386     WithColor::error() << EC.message() << '\n';
tools/llvm-lto/llvm-lto.cpp
  297     error(Prefix + ": " + EC.message());
 1025         error("error opening the file '" + PartFilename + "': " + EC.message());
tools/llvm-mc/llvm-mc.cpp
  217     WithColor::error() << EC.message() << '\n';
  337         << InputFilename << ": " << EC.message() << '\n';
tools/llvm-mca/llvm-mca.cpp
  319     WithColor::error() << InputFilename << ": " << EC.message() << '\n';
  405     WithColor::error() << EC.message() << '\n';
tools/llvm-mt/llvm-mt.cpp
   73   reportError(Twine(Input) + ": " + EC.message());
   78     reportError(EC.message());
tools/llvm-nm/llvm-nm.cpp
  231     error(EC.message(), Path);
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
   47     error("'" + File + "': " + LinkTargetOrErr.getError().message());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  207   std::string FullMsg = (EC.message() + ": " + Msg).str();
tools/llvm-opt-report/OptReport.cpp
  153                        << EC.message() << "\n";
  250                        << EC.message() << "\n";
  266                          << EC.message() << "\n";
tools/llvm-profdata/llvm-profdata.cpp
   84   exitWithError(EC.message(), Whence);
   97     warn(EC.message(), Whence);
tools/llvm-rc/llvm-rc.cpp
  114                "': " + File.getError().message());
  183                  "': " + EC.message());
tools/llvm-readobj/ARMEHABIPrinter.h
  425         report_fatal_error(errorToErrorCode(Ret.takeError()).message());
tools/llvm-readobj/COFFDumper.cpp
 1454     W.startLine() << "Invalid section number: " << EC.message() << "\n";
tools/llvm-reduce/deltas/Delta.cpp
   30     errs() << "Error making unique filename: " << EC.message() << "!\n";
tools/llvm-reduce/llvm-reduce.cpp
  105         errs() << "Error opening output file: " << EC.message() << "!\n";
tools/llvm-rtdyld/llvm-rtdyld.cpp
  253       report_fatal_error("Can't allocate enough memory: " + EC.message());
  307     report_fatal_error("MemoryManager allocation failed: " + EC.message());
  335     report_fatal_error("MemoryManager allocation failed: " + EC.message());
  378       ErrorAndExit("unable to read input: '" + EC.message() + "'");
  514         ErrorAndExit("unable to read input: '" + EC.message() + "'");
  558       ErrorAndExit("unable to mark function executable: '" + EC.message() +
  588                    EC.message());
  905       ErrorAndExit("unable to read input: '" + EC.message() + "'");
tools/llvm-split/llvm-split.cpp
   60       errs() << EC.message() << '\n';
tools/llvm-stress/llvm-stress.cpp
  757     errs() << EC.message() << '\n';
tools/llvm-strings/llvm-strings.cpp
  113       errs() << File << ": " << EC.message() << '\n';
tools/llvm-undname/llvm-undname.cpp
   87                          << "\': " << EC.message() << '\n';
tools/opt/Debugify.cpp
  402     errs() << "Could not open file: " << EC.message() << ", " << Path << '\n';
tools/opt/opt.cpp
  618       errs() << EC.message() << '\n';
  626         errs() << EC.message() << '\n';
  727         errs() << EC.message() << '\n';
tools/polly/lib/Exchange/JSONExporter.cpp
  706     errs() << "File could not be read: " << ec.message() << "\n";
tools/polly/lib/Support/DumpModulePass.cpp
   68       errs() << EC.message() << '\n';
tools/sancov/sancov.cpp
  187   errs() << "ERROR: " << Error.message() << "(" << Error.value() << ")\n";
  845     errs() << "Warning: " << BufOrErr.getError().message() << "("
tools/sanstats/sanstats.cpp
  131            << MBOrErr.getError().message() << '\n';
tools/verify-uselistorder/verify-uselistorder.cpp
  111     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  128     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  141     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  154     errs() << "verify-uselistorder: error: " << BufferOr.getError().message()
tools/yaml2obj/yaml2obj.cpp
   56     ErrHandler("failed to open '" + OutputFilename + "': " + EC.message());
unittests/ProfileData/SampleProfTest.cpp
   32                                        << EC.message();
unittests/Support/VirtualFileSystemTest.cpp
  431     EXPECT_FALSE(EC) << EC.message();
usr/include/c++/7.4.0/future
  115     : logic_error("std::future_error: " + __ec.message()), _M_code(__ec)
usr/include/c++/7.4.0/system_error
  348     : runtime_error(__ec.message()), _M_code(__ec) { }
  351     : runtime_error(__what + ": " + __ec.message()), _M_code(__ec) { }
  354     : runtime_error(__what + (": " + __ec.message())), _M_code(__ec) { }
  360     : runtime_error(error_code(__v, __ecat).message()),
  364     : runtime_error(__what + ": " + error_code(__v, __ecat).message()),
utils/FileCheck/FileCheck.cpp
  593            << "': " << EC.message() << '\n';
  613            << "': " << EC.message() << '\n';
utils/not/not.cpp
   38                        << "' in PATH: " << Program.getError().message() << "\n";