| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitReader.cpp | 44 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMParseBitcodeInContext() argument 45 Message = EIB.message(); in LLVMParseBitcodeInContext() 90 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMGetBitcodeModuleInContext() argument 91 Message = EIB.message(); in LLVMGetBitcodeModuleInContext()
|
| H A D | BitcodeReader.cpp | 948 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in errorToErrorCodeAndEmitErrors() argument 949 EC = EIB.convertToErrorCode(); in errorToErrorCodeAndEmitErrors() 950 Ctx.emitError(EIB.message()); in errorToErrorCodeAndEmitErrors()
|
| /llvm-project-15.0.7/llvm/lib/IRReader/ |
| H A D | IRReader.cpp | 40 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule() argument 42 EIB.message()); in getLazyIRModule() 79 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR() argument 81 EIB.message()); in parseIR()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | LLVMRemarkStreamer.h | 52 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo() 53 Msg = EIB.message(); in LLVMRemarkSetupErrorInfo() 54 EC = EIB.convertToErrorCode(); in LLVMRemarkSetupErrorInfo()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServer.cpp | 119 std::unique_ptr<llvm::ErrorInfoBase> EIB; in SendErrorResponse() local 124 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); }); in SendErrorResponse() 126 if (EIB) in SendErrorResponse() 127 return SendErrorResponse(Status(llvm::Error(std::move(EIB)))); in SendErrorResponse()
|
| /llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 104 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError() argument 105 llvm::errs() << "error opening '" << File << "': " << EIB.message() << '\n'; in fatalOpenError() 206 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile() argument 207 llvm::errs() << MB.getBufferIdentifier() << ": " << EIB.message() in appendFile() 233 [&](const ErrorInfoBase &EIB) { in appendFile() argument 235 << EIB.message() << "\n"; in appendFile()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create() argument 40 Msg = EIB.message(); in create()
|
| /llvm-project-15.0.7/llvm/unittests/Remarks/ |
| H A D | YAMLRemarksParsingTest.cpp | 62 [&](const ErrorInfoBase &EIB) { EIB.log(Stream); }); in parseExpectError() argument 81 [&](const ErrorInfoBase &EIB) { EIB.log(Stream); }); in parseExpectErrorMeta() argument 661 [&](const ErrorInfoBase &EIB) { EIB.log(Stream); }); in TEST() argument
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 371 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() argument 372 EIB.log(llvm::errs()); in ExtractPCH() 379 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() argument 380 if (EIB.convertToErrorCode() == in ExtractPCH() 385 EIB.log(llvm::errs()); in ExtractPCH()
|
| H A D | CodeGenAction.cpp | 1039 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in CreateASTConsumer() argument 1041 << F.Filename << EIB.message(); in CreateASTConsumer() 1090 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in loadModule() argument 1091 CI.getDiagnostics().Report(DiagID) << EIB.message(); in loadModule()
|
| H A D | BackendUtil.cpp | 1070 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in runThinLTOBackend() argument 1071 errs() << "Error setting up ThinLTO save-temps: " << EIB.message() in runThinLTOBackend() 1137 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in runThinLTOBackend() argument 1138 errs() << "Error running ThinLTO backend: " << EIB.message() << '\n'; in runThinLTOBackend()
|
| /llvm-project-15.0.7/bolt/lib/Utils/ |
| H A D | Utils.cpp | 44 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in check_error() argument 45 llvm::errs() << "BOLT-ERROR: '" << Message << "': " << EIB.message() in check_error()
|
| /llvm-project-15.0.7/compiler-rt/lib/orc/ |
| H A D | error.h | 142 inline Error repackage_error(std::unique_ptr<ErrorInfoBase> EIB) { in repackage_error() argument 143 return Error(std::move(EIB)); in repackage_error() 412 if (auto EIB = error_cast<ErrorInfoBase>(Err)) in toString() local 413 return EIB->toString(); in toString()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | GlobPatternTest.cpp | 121 handleAllErrors(Pat1.takeError(), [&](ErrorInfoBase &EIB) {}); in TEST_F() argument 125 handleAllErrors(Pat2.takeError(), [&](ErrorInfoBase &EIB) {}); in TEST_F() argument
|
| H A D | Path.cpp | 2424 handleAllErrors(L.takeError(), [&](ErrorInfoBase &EIB) {}); in TEST_F() argument
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 200 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadModuleFromInput() argument 202 SourceMgr::DK_Error, EIB.message()); in loadModuleFromInput() 226 handleAllErrors(Result.takeError(), [&](ErrorInfoBase &EIB) { in crossImportIntoModule() argument 228 SourceMgr::DK_Error, EIB.message()); in crossImportIntoModule()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 194 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in check() argument 195 errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n'; in check()
|
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 582 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in run() argument 583 DstM.getContext().diagnose(LinkDiagnosticInfo(DS_Error, EIB.message())); in run()
|
| /llvm-project-15.0.7/llvm/tools/llvm-ar/ |
| H A D | llvm-ar.cpp | 185 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in failIfError() argument 188 fail(EIB.message()); in failIfError() 189 fail(Context + ": " + EIB.message()); in failIfError()
|
| /llvm-project-15.0.7/llvm/tools/gold/ |
| H A D | gold-plugin.cpp | 499 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) -> Error { in check() argument 500 message(LDPL_FATAL, "%s: %s", Msg.c_str(), EIB.message().c_str()); in check()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto/ |
| H A D | llvm-lto.cpp | 570 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadModuleFromInput() argument 572 SourceMgr::DK_Error, EIB.message()); in loadModuleFromInput()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Error.h | 1305 [&](std::unique_ptr<ErrorInfoBase> EIB) -> Error { in build() 1306 Payload = std::move(EIB); in build()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | LegacyPassManager.cpp | 1344 handleAllErrors(F.materialize(), [&](ErrorInfoBase &EIB) { in run() argument 1345 report_fatal_error(Twine("Error reading bitcode file: ") + EIB.message()); in run()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | CoreAPIsTest.cpp | 1160 [](ErrorInfoBase &EIB) { in TEST_F() argument 1164 EIB.log(ErrOut); in TEST_F()
|