| /freebsd/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 …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Error.h | 44 class LLVM_ABI ErrorInfoBase { 46 virtual ~ErrorInfoBase() = default; 203 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error() 275 ErrorInfoBase *getPtr() const { in getPtr() 277 return reinterpret_cast<ErrorInfoBase*>( in getPtr() 285 void setPtr(ErrorInfoBase *EI) { in setPtr() 287 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr() 306 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked() 313 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload() 314 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload() [all …]
|
| /freebsd/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() 187 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()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 28 class ErrorInfoBase; variable 55 const ErrorInfoBase &ErrorInfo) = 0; 69 using ErrorHandler = std::function<void(const ErrorInfoBase &, StringRef)>; 102 const ErrorInfoBase &ErrorInfo) override; 153 const ErrorInfoBase &ErrorInfo) override;
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Status.cpp | 123 auto clone = [](const llvm::ErrorInfoBase &e) { in CloneError() 131 llvm::visitErrors(error, [&](const llvm::ErrorInfoBase &e) { in CloneError() 224 llvm::visitErrors(m_error, [&](const llvm::ErrorInfoBase &error) { in GetError() 258 llvm::visitErrors(m_error, [&](const llvm::ErrorInfoBase &error) { in GetAsStructuredData() 281 llvm::visitErrors(m_error, [&](const llvm::ErrorInfoBase &error) { in GetType() 297 return m_error.isA<llvm::ErrorInfoBase>(); in Fail()
|
| /freebsd/contrib/llvm-project/llvm/lib/Testing/Support/ |
| H A D | Error.cpp | 14 std::vector<std::shared_ptr<ErrorInfoBase>> Infos; 16 [&Infos](std::unique_ptr<ErrorInfoBase> Info) { in TakeError()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ObjectFilePCHContainerReader.cpp | 39 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() 47 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
|
| /freebsd/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) {
|
| /freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 125 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError() 251 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile() 278 [&](const ErrorInfoBase &EIB) { in appendFile() 431 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain() 531 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
|
| /freebsd/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()
|
| /freebsd/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()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Status.h | 36 : public llvm::ErrorInfo<CloneableError, llvm::ErrorInfoBase> { 38 using llvm::ErrorInfo<CloneableError, llvm::ErrorInfoBase>::ErrorInfo;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServer.cpp | 119 std::unique_ptr<llvm::ErrorInfoBase> EIB; in SendErrorResponse() 124 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); }); in SendErrorResponse()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | Error.h | 25 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
|
| /freebsd/contrib/llvm-project/lld/Common/ |
| H A D | ErrorHandler.cpp | 139 [&](ErrorInfoBase &eib) { error(eib.message()); }); in checkError() 144 [&](ErrorInfoBase &eib) { eh.error(eib.message()); }); in checkError()
|
| H A D | DWARF.cpp | 21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LLVMRemarkStreamer.h | 54 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/ |
| H A D | DlltoolDriver.cpp | 165 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in printError() 400 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in dlltoolDriverMain()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/ |
| H A D | DWARFLinkerUnit.h | |
| /freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 85 static void printError(const ErrorInfoBase &EI, StringRef AuxInfo) { in printError() 105 [&](const ErrorInfoBase &EI) { in print() 579 handleAllErrors(Status.takeError(), [&](const ErrorInfoBase &EI) { in llvm_symbolizer_main()
|
| /freebsd/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()
|
| /freebsd/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()
|