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

References

lib/Bitcode/Reader/MetadataLoader.cpp
  999                        toString(std::move(Err)));
 1004                        toString(MaybeEntry.takeError()));
 1012                          toString(std::move(Err)));
 1014     report_fatal_error("Can't lazyload MD: " + toString(MaybeCode.takeError()));
lib/DebugInfo/DWARF/DWARFContext.cpp
  252       WithColor::error() << toString(std::move(Err)) << '\n';
  275       WithColor::error() << toString(std::move(Err)) << '\n';
  297       WithColor::error() << toString(std::move(E)) << '\n';
  522         WithColor::error() << toString(std::move(E)) << '\n';
 1274   return make_error<StringError>(Reason + toString(std::move(E)),
 1354   WithColor::error() << toString(std::move(E)) << '\n';
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
   58         WithColor::error() << toString(CURanges.takeError()) << '\n';
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  525       report_fatal_error(toString(std::move(E)));
lib/DebugInfo/DWARF/DWARFDie.cpp
  352                          << toString(RangesOrError.takeError()) << '\n';
lib/DebugInfo/DWARF/DWARFUnit.cpp
  408     WithColor::error() << toString(std::move(e));
  456                                    toString(StringOffsetOrError.takeError()));
  479                                      toString(TableOrError.takeError()));
  535                          << toString(TableOrError.takeError())
  598                              toString(CUDIERangesOrError.takeError()).c_str());
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  826     error() << toString(std::move(E)) << '\n';
 1431     error() << toString(std::move(E)) << '\n';
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  133     ErrorStr = toString(std::move(Err));
  658       report_fatal_error(toString(RelSecOrErr.takeError()));
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  612       report_fatal_error(toString(RelSecOrErr.takeError()));
 1882                 toString(RelSecOrErr.takeError()));
lib/FuzzMutate/FuzzerCLI.cpp
  183     errs() << toString(std::move(E)) << "\n";
lib/LTO/Caching.cpp
  127                              toString(std::move(E)) + "\n");
  140         errs() << "Error: " << toString(Temp.takeError()) << "\n";
lib/LTO/LTOBackend.cpp
  237                          AAPipelineDesc + "': " + toString(std::move(Err)));
  262                        PipelineDesc + "': " + toString(std::move(Err)));
lib/LTO/LTOCodeGenerator.cpp
  532     errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
  540     errs() << "Error: " << toString(StatsFileOrErr.takeError()) << "\n";
lib/LTO/LTOModule.cpp
  665            ": Could not read LTO input file: " + toString(ObjOrErr.takeError());
lib/LTO/ThinLTOCodeGenerator.cpp
  514                        toString(InputOrError.takeError()));
 1081           errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
lib/MC/MCParser/AsmParser.cpp
 3461         return Error(DirectiveLoc, toString(FileNumOrErr.takeError()));
lib/Object/Object.cpp
   71     *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str());
  143     *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str());
lib/ObjectYAML/yaml2obj.cpp
   72   ErrHandler(toString(ObjOrErr.takeError()));
lib/Remarks/RemarkParser.cpp
  121   void handleError(Error E) { Err.emplace(toString(std::move(E))); }
lib/Support/Error.cpp
  158   std::string Tmp = toString(unwrap(Err));
lib/TextAPI/MachO/TextStub.cpp
  416       return toString(Result.takeError());
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  389     std::string SymtabFailure = toString(std::move(E));
lib/Transforms/Instrumentation/InstrProfiling.cpp
  919     report_fatal_error(toString(std::move(E)), false);
tools/bugpoint/BugDriver.cpp
   37       errs() << "Failed to keep temp file " << toString(std::move(E)) << '\n';
   41     errs() << "Failed to delete temp file " << toString(std::move(E)) << '\n';
  189     outs() << toString(std::move(E));
  202       errs() << toString(std::move(E));
  219     errs() << toString(std::move(E));
  225       errs() << toString(std::move(E));
  234     errs() << toString(std::move(E));
tools/bugpoint/CrashDebugger.cpp
 1298       errs() << toString(std::move(E)) << "\n";
tools/bugpoint/ExecutionDriver.cpp
  276            << ": Error making unique filename: " << toString(Temp.takeError())
tools/bugpoint/ExtractFunction.cpp
  377     errs() << "Error creating temporary file: " << toString(Temp.takeError())
tools/bugpoint/FindBugs.cpp
   69       outs() << toString(std::move(E));
   81       errs() << toString(std::move(E));
tools/bugpoint/OptimizerDriver.cpp
  151            << ": Error making unique filename: " << toString(Temp.takeError())
tools/bugpoint/bugpoint.cpp
  237     errs() << toString(std::move(E));
tools/clang/include/clang/Basic/Diagnostic.h
 1302   DB.AddString(toString(std::move(E)));
tools/clang/include/clang/Serialization/ASTReader.h
 2695           toString(std::move(Err)));
tools/clang/include/clang/Tooling/DiagnosticsYaml.h
   45                      << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/CodeGen/BackendUtil.cpp
 1085           << PluginFN << toString(PassPlugin.takeError());
tools/clang/lib/Format/ContinuationIndenter.cpp
 1603             << llvm::toString(std::move(PrefixErr)) << "\n";
 1615             << llvm::toString(std::move(SuffixErr)) << "\n";
 1626                      << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/Format.cpp
 1290             llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 1648         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 1967     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 2136     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 2325                      << Header << ": " << llvm::toString(std::move(Err))
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp
  135                  << llvm::toString(std::move(Err)) << "\n";
  149                  << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/SortJavaScriptImports.cpp
  198       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/TokenAnalyzer.cpp
  106         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
  148                      << llvm::toString(std::move(Err)) << "\n";
  172                    << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/WhitespaceManager.cpp
  785     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Frontend/TestModuleFileExtension.cpp
   73               toString(MaybeRecCode.takeError()).c_str());
tools/clang/lib/Serialization/ASTReader.cpp
 1257   Error(toString(std::move(Err)));
 1454               llvm::toString(std::move(E)));
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 3625                              ": " + toString(std::move(Err)));
 3643         toString(MaybeDeclCode.takeError()));
 3990             toString(std::move(JumpFailed)));
 3995             toString(MaybeCode.takeError()));
 4004             toString(MaybeCode.takeError()));
 4071         toString(std::move(JumpFailed)));
 4078         toString(MaybeCode.takeError()));
 4086         toString(MaybeCode.takeError()));
tools/clang/lib/Serialization/ASTReaderStmt.cpp
 2456       Error(toString(MaybeEntry.takeError()));
 2479       Error(toString(MaybeStmtCode.takeError()));
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  134                        "' failed: " + toString(std::move(Err)));
tools/clang/lib/Tooling/CommonOptionsParser.cpp
  175         llvm::toString(std::move(Err)));
tools/clang/lib/Tooling/Execution.cpp
   78               "': " + llvm::toString(Executor.takeError()) + "\n",
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  360                     llvm::toString(std::move(Err));
tools/clang/lib/Tooling/Refactoring.cpp
   90       llvm::errs() << llvm::toString(CurStyle.takeError()) << "\n";
   97       llvm::errs() << llvm::toString(NewReplacements.takeError()) << "\n";
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  303         llvm::toString(HeaderReplacements.takeError()));
  309                              llvm::toString(Replaces.takeError()));
  317           llvm::toString(std::move(Err)));
  325                                llvm::toString(CleanReplaces.takeError()));
  334                              llvm::toString(ChangedCode.takeError()));
  345         llvm::toString(ChangedCode.takeError()));
  358           llvm::toString(ChangedCode.takeError()));
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  176                      << llvm::toString(std::move(Err)) << "\n";
  226                    << "'! " << llvm::toString(Change.takeError()) << "\n";
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  527                    << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Tooling/RefactoringCallbacks.cpp
   58                        << toString(std::move(Err)) << "\n";
   97       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  116       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  136         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  147         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  234                  << "! " << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Tooling/Tooling.cpp
  473                    << llvm::toString(AbsPath.takeError()) << "\n";
tools/clang/tools/clang-format/ClangFormat.cpp
  409     llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
  420     llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
  497     llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
tools/clang/tools/clang-import-test/clang-import-test.cpp
  358       llvm::errs() << llvm::toString(std::move(E));
  377     llvm::errs() << llvm::toString(std::move(E));
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  321       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  496         llvm::errs() << toString(Result.takeError());
  620     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  626     llvm::errs() << llvm::toString(ActionFactory.takeError()) << "\n";
tools/clang/tools/clang-refactor/TestSupport.cpp
  101       llvm::errs() << toString(Result.takeError());
  122           (void)llvm::toString(Result.takeError());
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
  219         errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
  102     llvm::errs() << llvm::toString(FormatStyleOrError.takeError()) << "\n";
  149       errs() << llvm::toString(NewFileData.takeError()) << "\n";
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  189     llvm_unreachable(llvm::toString(std::move(Err)).c_str());
  977       llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
 1021       llvm::errs() << llvm::toString(Style.takeError()) << "\n";
 1028       llvm::errs() << llvm::toString(CleanReplacements.takeError()) << "\n";
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  190     llvm::errs() << toString(Exec.takeError()) << "\n";
  199     llvm::errs() << toString(G.takeError()) << "\n";
  247                    << toString(std::move(Err)) << "\n";
  249       llvm::errs() << toString(std::move(Err)) << "\n";
  282           llvm::errs() << toString(ReadInfos.takeError()) << "\n";
  292         llvm::errs() << llvm::toString(Reduced.takeError());
  300         llvm::errs() << toString(InfoPath.takeError()) << "\n";
  319         llvm::errs() << toString(std::move(Err)) << "\n";
  331     llvm::errs() << toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  227                          << llvm::toString(DB.takeError()) << '\n';
  329       llvm::errs() << llvm::toString(InsertStyle.takeError()) << "\n";
  337              << llvm::toString(Replacements.takeError()) << "\n";
  344       llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
  409       llvm::errs() << llvm::toString(InsertStyle.takeError()) << "\n";
  423              << llvm::toString(Replacements.takeError()) << "\n";
  444       llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
tools/clang/tools/extra/clang-move/Move.cpp
  756       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  774         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  784       llvm::errs() << llvm::toString(Style.takeError()) << "\n";
  791       llvm::errs() << llvm::toString(CleanReplacements.takeError()) << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  150                            << llvm::toString(std::move(Err)) << "\n";
  202           llvm::errs() << llvm::toString(Style.takeError()) << "\n";
  209           llvm::errs() << llvm::toString(Replacements.takeError()) << "\n";
  218           llvm::errs() << llvm::toString(FormattedReplacements.takeError())
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
   92                      << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
   80                  << llvm::toString(Transformations.takeError()) << "\n";
   91                  << llvm::toString(Explanation.takeError()) << "\n";
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1119         Input.FileName, toString(std::move(Err)));
tools/clang/tools/extra/clangd/FindSymbols.cpp
   50                 Sym.Name, llvm::toString(Path.takeError())),
tools/clang/tools/extra/clangd/JSONTransport.cpp
   26     Message = llvm::toString(std::move(Unhandled));
   95           elog("JSON parse error: {0}", llvm::toString(Doc.takeError()));
tools/clang/tools/extra/clangd/ParsedAST.cpp
  368         toString(std::move(Err)));
tools/clang/tools/extra/clangd/URI.cpp
  229     llvm_unreachable(llvm::toString(U.takeError()).c_str());
tools/clang/tools/extra/clangd/benchmarks/IndexBenchmark.cpp
   47                  << llvm::toString(JSONArray.takeError());
tools/clang/tools/extra/clangd/index/Serialization.cpp
  659                      llvm::toString(YAMLContents.takeError()));
tools/clang/tools/extra/clangd/index/YAMLSerialization.cpp
   80       I.setError(llvm::toString(ID.takeError()));
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  179         llvm::outs() << llvm::toString(SID.takeError()) << "\n";
  226         llvm::outs() << llvm::toString(SID.takeError()) << "\n";
tools/clang/tools/extra/clangd/indexer/IndexerMain.cpp
  115     llvm::errs() << llvm::toString(Executor.takeError()) << "\n";
  125     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clangd/unittests/DraftStoreTests.cpp
   82   ASSERT_TRUE(!!Result) << llvm::toString(Result.takeError());
  201       toString(Result.takeError()),
  221   EXPECT_EQ(toString(Result.takeError()),
  242   EXPECT_EQ(toString(Result.takeError()),
  263   EXPECT_EQ(toString(Result.takeError()),
  284   EXPECT_EQ(toString(Result.takeError()), "Line value is out of range (100)");
  304   EXPECT_EQ(toString(Result.takeError()), "Line value is out of range (100)");
  337   EXPECT_EQ(toString(Result.takeError()),
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   33       ADD_FAILURE() << llvm::toString(std::move(E));
   36       << "Bad replacements: " << llvm::toString(NewCode.takeError());
tools/clang/tools/extra/clangd/unittests/JSONTransportTests.cpp
   84           << "): error = " << llvm::toString(Params.takeError()) << "\n";
  109   EXPECT_FALSE(bool(Err)) << toString(std::move(Err));
  150   EXPECT_FALSE(bool(Err)) << toString(std::move(Err));
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
  189       auto ActualMessage = llvm::toString(Results.takeError());
  193                                  << llvm::toString(Results.takeError());
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  331                           << llvm::toString(std::move(Err));
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  108     return "fail: " + llvm::toString(Result.takeError());
  118       return "bad edits: " + llvm::toString(NewText.takeError());
tools/clang/tools/extra/clangd/unittests/URITests.cpp
   34     llvm_unreachable(toString(Uri.takeError()).c_str());
   41     llvm_unreachable(toString(U.takeError()).c_str());
   66     llvm_unreachable(toString(Path.takeError()).c_str());
  143     llvm_unreachable(toString(Path.takeError()).c_str());
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
 2206       ASSERT_TRUE(!!Location) << llvm::toString(Location.takeError());
tools/clang/tools/extra/pp-trace/PPTrace.cpp
  134     error(toString(OptionsParser.takeError()));
  147       error(toString(Pat.takeError()));
tools/clang/tools/extra/tool-template/ToolTemplate.cpp
   97     llvm::errs() << llvm::toString(Executor.takeError()) << "\n";
  115     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/unittests/clang-change-namespace/ChangeNamespaceTests.cpp
   59       llvm::errs() << llvm::toString(ChangedCode.takeError());
tools/clang/tools/extra/unittests/clang-include-fixer/IncludeFixerTest.cpp
  108       << llvm::toString(Replaces.takeError()) << "\n";
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  149             llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/unittests/AST/ASTImporterFixtures.h
  202            << "Expected<> contains error: " << toString(ValOrErr.takeError());
  227          << toString(std::move(Err));
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
   73       llvm::errs() << llvm::toString(ft.takeError()) << "\n";
tools/clang/unittests/Format/CleanupTest.cpp
  311         << llvm::toString(CleanReplaces.takeError()) << "\n";
  321         << llvm::toString(CleanReplaces.takeError()) << "\n";
  324         << llvm::toString(FormattedReplaces.takeError()) << "\n";
tools/clang/unittests/Format/FormatTest.cpp
14383       << llvm::toString(FormattedReplaces.takeError()) << "\n";
14412       << llvm::toString(FormattedReplaces.takeError()) << "\n";
tools/clang/unittests/Rename/ClangRenameTest.h
  101       llvm::errs() << llvm::toString(ChangedCode.takeError());
tools/clang/unittests/Tooling/RefactoringTest.cpp
 1333                    << llvm::toString(ChangedCode.takeError()) << "\n";
tools/clang/unittests/Tooling/ReplacementTest.h
   33       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/unittests/Tooling/StencilTest.cpp
  107         ADD_FAILURE() << "Unhandled error: " << llvm::toString(std::move(Err));
tools/clang/unittests/Tooling/TransformerTest.cpp
   58                   << llvm::toString(Formatted.takeError());
  102                    << llvm::toString(ChangedCode.takeError()) << "\n";
tools/dsymutil/DebugMap.cpp
  247                          << toString(std::move(Err)) << '\n';
  253                            << toString(std::move(Err)) << '\n';
tools/dsymutil/DwarfLinker.cpp
 2222         Twine(Obj.getObjectFilename()) + ": " + toString(std::move(Err)), Obj);
 2230         Twine(Obj.getObjectFilename()) + ": " + toString(std::move(Err)), Obj);
 2515         "cannot create directory: " + toString(errorCodeToError(EC)), EC);
 2536            toString(errorCodeToError(EC)));
 2853       return error(toString(std::move(E)));
tools/dsymutil/MachODebugMapParser.cpp
  164     Warning("unable to open object file: " + toString(std::move(Err)),
  172     Warning("unable to open object file: " + toString(std::move(Err)),
  354                        << "': " << toString(std::move(Err)) << '\n';
  362                        << "' as MachO file: " << toString(std::move(Err))
tools/dsymutil/MachOUtils.cpp
   84                          << toString(std::move(E)) << "\n";
  352                      toString(std::move(Err)),
  361                      toString(std::move(Err)),
tools/dsymutil/dsymutil.cpp
  283         "cannot create Plist: " + toString(errorCodeToError(EC)), EC);
  344         "cannot create bundle: " + toString(errorCodeToError(EC)), EC);
  358     WithColor::error() << OutputFile << ": " << toString(BinOrErr.takeError());
  471     WithColor::error() << toString(OptionsOrErr.takeError());
  562         WithColor::error() << toString(OutputLocationOrErr.takeError());
  573           WithColor::error() << toString(std::move(E));
  619         WithColor::error() << toString(OutputLocationOrErr.takeError());
tools/gold/gold-plugin.cpp
  710             toString(ObjOrErr.takeError()).c_str());
tools/llc/llc.cpp
  340     WithColor::error(errs(), argv[0]) << toString(std::move(E)) << '\n';
tools/lld/COFF/DebugTypes.cpp
  243     TypeServerSource::instances[path] = {toString(ts.takeError()), nullptr};
tools/lld/COFF/Driver.cpp
  285           toString(std::move(e)));
 1162             toString(errOrWriter.takeError()));
tools/lld/COFF/DriverUtils.cpp
  396           toString(std::move(e)));
  403             toString(std::move(e)));
  715       fatal(toString(std::move(ec)));
  724       fatal(toString(f) + ": " + toString(std::move(ec)));
  727       fatal(toString(std::move(ec)));
  743     fatal("failed to write .res to COFF: " + toString(e.takeError()));
tools/lld/COFF/InputFiles.cpp
  137           ": Archive::children failed: " + toString(std::move(err)));
  240           toString(e.takeError()));
tools/lld/COFF/PDB.cpp
  408             toString(std::move(err)));
  414             toString(std::move(err)));
  437     fatal("Type server does not have TPI stream: " + toString(std::move(e)));
  442       fatal("Error getting type server IPI stream: " + toString(std::move(e)));
  458       fatal("codeview::mergeTypeRecords failed: " + toString(std::move(err)));
  467         fatal("codeview::mergeIdRecords failed: " + toString(std::move(err)));
  473       fatal("codeview::mergeTypeRecords failed: " + toString(std::move(err)));
  479         fatal("codeview::mergeIdRecords failed: " + toString(std::move(err)));
 1181          StringRef(toString(indexMapResult.takeError())));
tools/lld/COFF/Writer.cpp
  631     fatal("failed to write the output file: " + toString(std::move(e)));
tools/lld/Common/Strings.cpp
   38       error(toString(pat.takeError()));
tools/lld/ELF/Driver.cpp
  179           toString(std::move(err)));
  462       error("--reproduce: " + toString(errOrWriter.takeError()));
 1379     error("--undefined-glob: " + toString(pat.takeError()));
tools/lld/ELF/InputSection.cpp
  155           ": uncompress failed: " + llvm::toString(std::move(e)));
 1127             ": uncompress failed: " + llvm::toString(std::move(e)));
tools/lld/ELF/OutputSections.cpp
  276     fatal("compress failed: " + llvm::toString(std::move(e)));
tools/lld/ELF/SyntheticSections.cpp
 2566       error(toString(sec) + ": " + toString(std::move(e)));
 2571       error(toString(sec) + ": " + toString(ranges.takeError()));
tools/lld/ELF/Writer.cpp
  620     error("failed to write to the output file: " + toString(std::move(e)));
 2602           llvm::toString(bufferOrErr.takeError()));
tools/lld/include/lld/Common/ErrorHandler.h
  138     fatal(llvm::toString(e.takeError()));
  152     fatal(prefix() + ": " + toString(e.takeError()));
tools/lld/wasm/Driver.cpp
  209           ": Archive::children failed: " + toString(std::move(err)));
  673       error("--reproduce: " + toString(errOrWriter.takeError()));
tools/lld/wasm/Writer.cpp
 1072     fatal("failed to write the output file: " + toString(std::move(e)));
 1085           toString(bufferOrErr.takeError()));
tools/lldb/include/lldb/Utility/Log.h
  150            llvm::formatv(format, llvm::toString(std::move(error)),
tools/lldb/source/API/SBReproducer.cpp
  111     error = llvm::toString(std::move(e));
  121     error = llvm::toString(std::move(e));
  130     error = llvm::toString(std::move(e));
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  643               llvm::toString(std::move(err)).c_str());
  674             llvm::toString(std::move(err)).c_str());
tools/lldb/source/Commands/CommandObjectFrame.cpp
  576                     "error: %s\n", llvm::toString(std::move(err)).c_str());
tools/lldb/source/Commands/CommandObjectMemory.cpp
  811         result.AppendError(llvm::toString(outfile.takeError()));
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  156                                  toString(std::move(err)).c_str());
tools/lldb/source/Core/Communication.cpp
  216                llvm::toString(maybe_thread.takeError()));
tools/lldb/source/Core/Debugger.cpp
 1517                llvm::toString(event_handler_thread.takeError()));
 1558                llvm::toString(io_handler_thread.takeError()));
tools/lldb/source/Expression/Materializer.cpp
  871                                    llvm::toString(std::move(error)).c_str());
tools/lldb/source/Expression/REPL.cpp
  413               std::string message = llvm::toString(file.takeError());
tools/lldb/source/Host/common/MonitoringProcessLauncher.cpp
   61                                       llvm::toString(maybe_thread.takeError()));
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
  197                llvm::toString(maybe_thread.takeError()));
tools/lldb/source/Host/common/TaskPool.cpp
   77                llvm::toString(host_thread.takeError()));
tools/lldb/source/Interpreter/CommandAlias.cpp
   48       result.AppendError(toString(args_or.takeError()));
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 2345     std::string error = llvm::toString(input_file_up.takeError());
tools/lldb/source/Interpreter/OptionValueRegex.cpp
   54       error.SetErrorString(llvm::toString(std::move(err)));
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2658     std::string error = llvm::toString(file.takeError());
 4598         std::string error = llvm::toString(file.takeError());
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
 1888         section->GetName().AsCString(), llvm::toString(std::move(err)).c_str());
 3331         llvm::toString(Decompressor.takeError()).c_str());
 3344         llvm::toString(std::move(error)).c_str());
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
 1926                           llvm::toString(expected_size.takeError()).c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  209                llvm::toString(async_thread.takeError()));
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  674                  llvm::toString(threads_info.takeError()));
 3092              llvm::toString(threads_info.takeError()));
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 3632                llvm::toString(async_thread.takeError()));
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
 1071     return (message + llvm::toString(backtrace.takeError()));
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 1240         llvm::toString(maybe_args.takeError()).c_str());
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  292       error.SetErrorString(llvm::toString(std::move(err)));
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  217       toString(expected_ranges.takeError()).c_str());
tools/lldb/source/Target/Process.cpp
 3531              llvm::toString(private_state_thread.takeError()));
tools/lldb/source/Target/Target.cpp
 2196         llvm::toString(std::move(err)).c_str());
 2219         llvm::toString(std::move(err)).c_str());
 2243         llvm::toString(std::move(err)).c_str());
tools/lldb/source/Target/ThreadPlanCallFunction.cpp
   70         "%s", llvm::toString(start_address.takeError()).c_str());
tools/lldb/source/Utility/Status.cpp
   80     SetErrorString(llvm::toString(std::move(error)));
tools/lldb/tools/lldb-test/lldb-test.cpp
  816     WithColor::error() << toString(std::move(E)) << "\n";
 1074     WithColor::error() << "initialization failed: " << toString(std::move(e))
tools/lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp
  243             llvm::toString(std::move(error)));
  272             llvm::toString(std::move(error)));
  301             llvm::toString(std::move(error)));
  327             "null entry", llvm::toString(std::move(error)));
tools/lldb/unittests/Utility/StatusTest.cpp
   55   EXPECT_EQ("foo", llvm::toString(std::move(foo)));
tools/llvm-cov/CodeCoverage.cpp
  357     error("Failed to load coverage: " + toString(std::move(E)),
  527     error("Could not create view file!", toString(std::move(E)));
  894       error("Could not create index file!", toString(std::move(E)));
  915         error("Could not create view file!", toString(std::move(E)));
tools/llvm-cxxmap/llvm-cxxmap.cpp
   69   exitWithError(toString(std::move(E)), Whence);
tools/llvm-dwp/llvm-dwp.cpp
  368        llvm::toString(std::move(E)))
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
  123       InstrBenchmark.Error = toString(std::move(E));
  141     InstrBenchmark.Error = toString(std::move(E));
tools/llvm-mca/llvm-mca.cpp
  281     WithColor::error() << toString(Cycles.takeError());
  387       WithColor::error() << toString(std::move(Err)) << '\n';
  483           WithColor::error() << toString(std::move(NewE));
tools/llvm-objcopy/llvm-objcopy.cpp
   89   WithColor::warning(errs(), ToolName) << toString(std::move(E)) << '\n';
tools/llvm-objdump/ELFDump.cpp
  134     report_fatal_error(toString(PhdrRangeOrErr.takeError()));
  181       reportWarning(toString(StrTabOrErr.takeError()), Filename);
  192     report_fatal_error(toString(ProgramHeaderOrError.takeError()));
tools/llvm-objdump/llvm-objdump.cpp
  616     ErrorMessage = toString(ExpectedLineInfo.takeError());
 1005                       toString(RelocatedOrErr.takeError()));
 1629                       toString(SecOrErr.takeError()));
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
  239     errs() << *argv[0] << ": " << toString(std::move(Err)) << "\n";
tools/llvm-pdbutil/BytesOutputStyle.cpp
   71                    toString(ESS.takeError()));
  218                    toString(ExpectedData.takeError()));
tools/llvm-pdbutil/DumpOutputStyle.cpp
 1324                        toString(std::move(EC)));
 1353                            Dep.first, toString(std::move(EC)));
 1363                            toString(std::move(EC)));
 1586                        toString(ExpectedModS.takeError()));
 1604                        toString(std::move(EC)));
 1886     P.printLine(toString(ExpectedHeaders.takeError()));
tools/llvm-profdata/llvm-profdata.cpp
   80   exitWithError(toString(std::move(E)), Whence);
  114   errs() << toString(std::move(E)) << "\n";
  289       warn(toString(make_error<InstrProfError>(IPE)));
  358       warn(toString(std::move(ErrorPair.first)), ErrorPair.second);
tools/llvm-readobj/ELFDumper.cpp
 1699                       ": " + llvm::toString(MappedAddrOrError.takeError()));
 3649                     Twine(SymIndex) + ": " + toString(ErrOrName.takeError())),
 4902                                     toString(RelSecOrErr.takeError()).c_str()),
tools/llvm-reduce/TestRunner.cpp
   37     errs() << toString(std::move(E));
tools/obj2yaml/elf2yaml.cpp
  468               "': " + toString(LinkSection.takeError()),
tools/opt/NewPMDriver.cpp
  127            << " pipeline: " << toString(std::move(Err))
  301     errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
  328     errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
tools/opt/opt.cpp
  562     errs() << toString(std::move(E)) << '\n';
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  145   ADD_FAILURE() << "Unexpected failure: " << toString(std::move(Err));
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp
   37       dbgs() << "Skipping JITLInk unit test: " << toString(TR.takeError())
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
   65     auto Msg = toString(Result.takeError());
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
  178       auto ErrMsg = toString(std::move(Err));
  214   auto ErrMsg = toString(HandleOrErr.takeError());
  280       auto ErrMsg = toString(std::move(Err));
  318   auto ErrMsg = toString(std::move(Err));
  336       auto ErrMsg = toString(std::move(Err));
  391     auto ErrMsg = toString(std::move(Err));
  418       auto ErrMsg = toString(std::move(Err));
  478   auto ErrMsg = toString(std::move(Err));
  544       auto ErrMsg = toString(std::move(Err));
  580   auto ErrMsg = toString(std::move(Err));
unittests/Remarks/BitstreamRemarksParsingTest.cpp
  333   EXPECT_EQ(ErrorMsg, toString(BSRemark.takeError())); // Expect an error.
unittests/Remarks/RemarksStrTabParsingTest.cpp
   20   EXPECT_EQ(toString(Nothing.takeError()),
unittests/Support/CachePruningTest.cpp
   77             toString(parseCachePruningPolicy("prune_interval=").takeError()));
   79             toString(parseCachePruningPolicy("prune_interval=foos").takeError()));
   81             toString(parseCachePruningPolicy("prune_interval=24x").takeError()));
   83             toString(parseCachePruningPolicy("cache_size=foo").takeError()));
   85             toString(parseCachePruningPolicy("cache_size=foo%").takeError()));
   87             toString(parseCachePruningPolicy("cache_size=101%").takeError()));
   90       toString(parseCachePruningPolicy("cache_size_bytes=foo").takeError()));
   93       toString(parseCachePruningPolicy("cache_size_bytes=foom").takeError()));
   95             toString(parseCachePruningPolicy("foo=bar").takeError()));
unittests/Support/ErrorTest.cpp
  728   EXPECT_EQ(toString(Error::success()).compare(""), 0);
  731   EXPECT_EQ(toString(std::move(E1)).compare("CustomError {0}"), 0);
  739   EXPECT_EQ(toString(std::move(E3))
  883   EXPECT_EQ(toString(std::move(FE1)).compare("'file.bin': CustomError {1}"), 0);
  903   EXPECT_EQ(toString(std::move(FE4))
  960   EXPECT_EQ(toString(std::move(E1)).compare("Error 1."), 0);
  964   EXPECT_EQ(toString(std::move(E2)).compare("Error 1. Detailed information"),
  975   EXPECT_EQ(toString(std::move(E4))
unittests/Support/SymbolRemappingReaderTest.cpp
   25     return toString(std::move(E));
unittests/TextAPI/TextStubV1Tests.cpp
  375   auto errorMessage = toString(Result.takeError());
  434   auto errorMessage = toString(Result.takeError());
  449   auto errorMessage = toString(Result.takeError());
  466   auto errorMessage = toString(Result.takeError());
unittests/TextAPI/TextStubV2Tests.cpp
  396   auto errorMessage = toString(Result.takeError());
  454   auto errorMessage = toString(Result.takeError());
  471   auto errorMessage = toString(Result.takeError());
  486   auto errorMessage = toString(Result.takeError());
  503   auto errorMessage = toString(Result.takeError());
unittests/TextAPI/TextStubV3Tests.cpp
  389   auto errorMessage = toString(Result.takeError());
  448   auto errorMessage = toString(Result.takeError());
  463   auto errorMessage = toString(Result.takeError());
  480   auto errorMessage = toString(Result.takeError());
unittests/TextAPI/TextStubV4Tests.cpp
  492   auto errorMessage = toString(Result.takeError());
  509   auto errorMessage = toString(Result.takeError());
  524   auto errorMessage = toString(Result.takeError());
  540   auto errorMessage = toString(Result.takeError());
  558   auto errorMessage = toString(Result.takeError());
utils/TableGen/GlobalISelEmitter.cpp
 3499       return failedImport(toString(std::move(Error)) +
 3824     return failedImport(toString(std::move(Error)) + " for Src operand (" +
 4545                         toString(std::move(Err)) + ")");
 4548                         toString(std::move(Err)) + ")");
 5034                      "Skipped pattern: " + toString(std::move(Err)));