| /src/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | error.h | 24 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 D | Error.h | 45 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 D | Error.cpp | 57 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 D | WithColor.cpp | 159 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 D | DIPrinter.h | 27 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 D | Error.cpp | 14 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 D | DWARFLinkerGlobalData.h | 115 handleAllErrors(std::move(Warning), [&](ErrorInfoBase &Info) { 129 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
|
| H A D | DWARFLinkerCompileUnit.h | 541 handleAllErrors(std::move(Warning), [&](ErrorInfoBase &Info) { 561 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitReader.cpp | 44 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 D | IRReader.cpp | 41 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 D | GDBRemoteCommunicationServer.cpp | 118 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 D | LibDriver.cpp | 122 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 D | Error.h | 25 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
|
| H A D | DebugInfoLinker.cpp | 372 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 D | Interpreter.cpp | 39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LLVMRemarkStreamer.h | 53 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
|
| /src/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
|
| /src/contrib/llvm-project/lld/Common/ |
| H A D | DWARF.cpp | 21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
|
| /src/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 83 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 D | llvm-debuginfo-analyzer.cpp | 44 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 379 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 D | sanitizer_symbolize.cpp | 49 [&](const llvm::ErrorInfoBase &ErrorInfo, llvm::StringRef ErrorBanner) { in symbolize_error_handler()
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 275 const ErrorInfoBase &ErrorInfo) { in printError() 392 const ErrorInfoBase &ErrorInfo) { in printError()
|
| /src/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | error_test.cpp | 24 class CustomError : public RTTIExtends<CustomError, ErrorInfoBase> {
|
| /src/contrib/llvm-project/llvm/include/llvm/Testing/Support/ |
| H A D | SupportHelpers.h | 26 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
|