Home
last modified time | relevance | path

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

123

/src/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()
118 template <typename ErrT = ErrorInfoBase> std::unique_ptr<ErrT> takePayload() { in takePayload()
119 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in takePayload()
132 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in make_error()
140 inline Error repackage_error(std::unique_ptr<ErrorInfoBase> EIB) { in repackage_error()
158 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in error_cast()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h45 class ErrorInfoBase {
47 virtual ~ErrorInfoBase() = default;
204 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error()
276 ErrorInfoBase *getPtr() const { in getPtr()
278 return reinterpret_cast<ErrorInfoBase*>( in getPtr()
286 void setPtr(ErrorInfoBase *EI) { in setPtr()
288 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr()
307 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked()
314 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload()
315 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload()
[all …]
/src/contrib/llvm-project/llvm/lib/Support/
H A DError.cpp57 void ErrorInfoBase::anchor() {} in anchor()
58 char ErrorInfoBase::ID = 0;
69 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in logAllUnhandledErrors()
79 handleAllErrors(std::move(E), [&Errors](const ErrorInfoBase &EI) { in toString()
87 visitErrors(E, [&Errors](const ErrorInfoBase &EI) { in toStringWithoutConsuming()
119 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) { in errorToErrorCode()
180 return reinterpret_cast<ErrorInfoBase *>(Err)->dynamicClassID(); in LLVMGetErrorTypeId()
H A DWithColor.cpp159 handleAllErrors(std::move(Err), [](ErrorInfoBase &Info) { in defaultErrorHandler()
165 handleAllErrors(std::move(Warning), [](ErrorInfoBase &Info) { in defaultWarningHandler()
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h27 class ErrorInfoBase; variable
54 const ErrorInfoBase &ErrorInfo) = 0;
68 using ErrorHandler = function_ref<void(const ErrorInfoBase &, StringRef)>;
101 const ErrorInfoBase &ErrorInfo) override;
153 const ErrorInfoBase &ErrorInfo) override;
/src/contrib/llvm-project/llvm/lib/Testing/Support/
H A DError.cpp14 std::vector<std::shared_ptr<ErrorInfoBase>> Infos; in TakeError()
16 [&Infos](std::unique_ptr<ErrorInfoBase> Info) { in TakeError()
/src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerGlobalData.h115 handleAllErrors(std::move(Warning), [&](ErrorInfoBase &Info) {
129 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
H A DDWARFLinkerCompileUnit.h541 handleAllErrors(std::move(Warning), [&](ErrorInfoBase &Info) {
561 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
/src/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp44 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMParseBitcodeInContext()
90 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMGetBitcodeModuleInContext()
/src/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp41 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule()
80 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR()
/src/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.cpp118 std::unique_ptr<llvm::ErrorInfoBase> EIB; in SendErrorResponse()
123 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); }); in SendErrorResponse()
/src/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp122 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError()
245 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile()
272 [&](const ErrorInfoBase &EIB) { in appendFile()
515 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
/src/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A DError.h25 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
H A DDebugInfoLinker.cpp372 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) { in linkDebugInfoImpl()
377 handleAllErrors(std::move(Warning), [&](ErrorInfoBase &Info) { in linkDebugInfoImpl()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h53 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
/src/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
/src/contrib/llvm-project/lld/Common/
H A DDWARF.cpp21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
/src/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp83 static void printError(const ErrorInfoBase &EI, StringRef AuxInfo) { in printError()
103 [&](const ErrorInfoBase &EI) { in print()
571 handleAllErrors(Status.takeError(), [&](const ErrorInfoBase &EI) { in llvm_symbolizer_main()
/src/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A Dllvm-debuginfo-analyzer.cpp44 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp379 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
387 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp49 [&](const llvm::ErrorInfoBase &ErrorInfo, llvm::StringRef ErrorBanner) { in symbolize_error_handler()
/src/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp275 const ErrorInfoBase &ErrorInfo) { in printError()
392 const ErrorInfoBase &ErrorInfo) { in printError()
/src/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Derror_test.cpp24 class CustomError : public RTTIExtends<CustomError, ErrorInfoBase> {
/src/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h26 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;

123