Home
last modified time | relevance | path

Searched refs:EIB (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DObjectFilePCHContainerReader.cpp39 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() argument
40 EIB.log(llvm::errs()); in ExtractPCH()
47 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() argument
48 if (EIB.convertToErrorCode() == in ExtractPCH()
53 EIB.log(llvm::errs()); in ExtractPCH()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp44 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 DBitcodeReader.cpp1022 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in errorToErrorCodeAndEmitErrors() argument
1023 EC = EIB.convertToErrorCode(); in errorToErrorCodeAndEmitErrors()
1024 Ctx.emitError(EIB.message()); in errorToErrorCodeAndEmitErrors()
/freebsd/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp41 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule() argument
43 EIB.message()); in getLazyIRModule()
80 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR() argument
82 EIB.message()); in parseIR()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h54 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
55 Msg = EIB.message(); in LLVMRemarkSetupErrorInfo()
56 EC = EIB.convertToErrorCode(); in LLVMRemarkSetupErrorInfo()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.cpp119 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::FromError(llvm::Error(std::move(EIB)))); in SendErrorResponse()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create() argument
40 Msg = EIB.message(); in create()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp125 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError() argument
126 llvm::errs() << "error opening '" << File << "': " << EIB.message() << '\n'; in fatalOpenError()
251 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile() argument
252 llvm::errs() << MB.getBufferIdentifier() << ": " << EIB.message() in appendFile()
278 [&](const ErrorInfoBase &EIB) { in appendFile() argument
280 << EIB.message() << "\n"; in appendFile()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h140 inline Error repackage_error(std::unique_ptr<ErrorInfoBase> EIB) { in repackage_error() argument
141 return Error(std::move(EIB)); in repackage_error()
410 if (auto EIB = error_cast<ErrorInfoBase>(Err)) in toString() local
411 return EIB->toString(); in toString()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp165 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in printError() argument
166 llvm::errs() << "error opening " << File << ": " << EIB.message() << "\n"; in printError()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp170 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in startSynthesis() argument
173 EIB.log(dbgs()); in startSynthesis()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp196 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadModuleFromInput() argument
198 SourceMgr::DK_Error, EIB.message()); in loadModuleFromInput()
222 handleAllErrors(Result.takeError(), [&](ErrorInfoBase &EIB) { in crossImportIntoModule() argument
224 SourceMgr::DK_Error, EIB.message()); in crossImportIntoModule()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp895 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadLinkModules() argument
897 << F.Filename << EIB.message(); in loadLinkModules()
1014 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in loadModule() argument
1015 CI.getDiagnostics().Report(DiagID) << EIB.message(); in loadModule()
H A DBackendUtil.cpp1322 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in runThinLTOBackend() argument
1323 errs() << "Error setting up ThinLTO save-temps: " << EIB.message() in runThinLTOBackend()
1395 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in runThinLTOBackend() argument
1396 errs() << "Error running ThinLTO backend: " << EIB.message() << '\n'; in runThinLTOBackend()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp225 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in check() argument
226 errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n'; in check()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp607 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in run() argument
608 DstM.getContext().diagnose(LinkDiagnosticInfo(DS_Error, EIB.message())); in run()
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp180 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in failIfError() argument
183 fail(EIB.message()); in failIfError()
184 fail(Context + ": " + EIB.message()); in failIfError()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp630 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadModuleFromInput() argument
632 SourceMgr::DK_Error, EIB.message()); in loadModuleFromInput()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h1384 [&](std::unique_ptr<ErrorInfoBase> EIB) -> Error { in build()
1385 Payload = std::move(EIB); in build()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp1307 handleAllErrors(F.materialize(), [&](ErrorInfoBase &EIB) { in run() argument
1308 report_fatal_error(Twine("Error reading bitcode file: ") + EIB.message()); in run()