Home
last modified time | relevance | path

Searched refs:ErrorInfoBase (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h24 class ErrorInfoBase : public RTTIExtends<ErrorInfoBase, RTTIRoot> {
35 friend Error repackage_error(std::unique_ptr<ErrorInfoBase>);
93 Error(std::unique_ptr<ErrorInfoBase> ErrInfo) { in Error()
106 template <typename ErrT = ErrorInfoBase> ErrT *getPtr() const { in getPtr()
110 void setPtr(ErrorInfoBase *Ptr) { in setPtr()
121 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in takePayload()
134 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in make_error()
160 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in error_cast()
193 using error_type = std::unique_ptr<ErrorInfoBase>;
383 (void)error_cast<ErrorInfoBase>(Err); in consumeError()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h48 class ErrorInfoBase {
50 virtual ~ErrorInfoBase() = default;
271 ErrorInfoBase *getPtr() const { in getPtr()
273 return reinterpret_cast<ErrorInfoBase*>( in getPtr()
281 void setPtr(ErrorInfoBase *EI) { in setPtr()
283 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr()
302 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked()
309 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload()
324 ErrorInfoBase *Payload = nullptr;
1294 std::unique_ptr<ErrorInfoBase> Payload; in build()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DError.cpp53 void ErrorInfoBase::anchor() {} in anchor()
54 char ErrorInfoBase::ID = 0;
65 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in logAllUnhandledErrors()
95 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) { in errorToErrorCode()
153 return reinterpret_cast<ErrorInfoBase *>(Err)->dynamicClassID(); in LLVMGetErrorTypeId()
H A DWithColor.cpp152 handleAllErrors(std::move(Err), [](ErrorInfoBase &Info) { in defaultErrorHandler()
158 handleAllErrors(std::move(Warning), [](ErrorInfoBase &Info) { in defaultWarningHandler()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Testing/Support/
H A DError.cpp16 std::vector<std::shared_ptr<ErrorInfoBase>> Infos; in TakeError()
18 [&Infos](std::unique_ptr<ErrorInfoBase> Info) { in TakeError()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h28 class ErrorInfoBase; variable
55 const ErrorInfoBase &ErrorInfo,
100 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo,
151 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo,
/freebsd-13.1/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp104 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError()
206 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile()
232 handleAllErrors(MaybeFileMachine.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile()
380 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp45 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMParseBitcodeInContext()
91 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMGetBitcodeModuleInContext()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp40 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule()
79 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.cpp119 std::unique_ptr<llvm::ErrorInfoBase> EIB; in SendErrorResponse()
124 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); }); in SendErrorResponse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h46 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp44 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DDecodedThread.h117 std::unique_ptr<llvm::ErrorInfoBase> m_error;
H A DDecodedThread.cpp40 [&](std::unique_ptr<llvm::ErrorInfoBase> info) { in IntelPTInstruction()
/freebsd-13.1/contrib/llvm-project/lld/Common/
H A DDWARF.cpp21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
H A DErrorHandler.cpp110 [&](ErrorInfoBase &eib) { error(eib.message()); }); in checkError()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSerialization.h320 std::function<Error(ChannelT &C, const ErrorInfoBase &)>;
350 ChannelT &C, const ErrorInfoBase &EIB) -> Error { in registerErrorType()
366 return handleErrors(std::move(Err), [&C](const ErrorInfoBase &EIB) { in serialize()
393 static Error serializeAsStringError(ChannelT &C, const ErrorInfoBase &EIB) { in serializeAsStringError()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp347 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
355 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
H A DCodeGenAction.cpp939 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in CreateASTConsumer()
990 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in loadModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp267 const ErrorInfoBase &ErrorInfo, in printError()
376 const ErrorInfoBase &ErrorInfo, in printError()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h142 for (const std::shared_ptr<ErrorInfoBase> &Info: Holder.Infos) in MatchAndExplain()
H A DSupportHelpers.h26 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp173 [&](const ErrorInfoBase &EI) { error(EI.message()); }); in reportError()
186 createFileError(Input, std::move(Err)), [&](const ErrorInfoBase &EI) { in reportWarning()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp87 [&](const ErrorInfoBase &EI) { in print()

12