| /freebsd-13.1/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() 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 D | Error.h | 48 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 D | Error.cpp | 53 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 D | WithColor.cpp | 152 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 D | Error.cpp | 16 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 D | DIPrinter.h | 28 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 D | LibDriver.cpp | 104 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 D | BitReader.cpp | 45 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 D | IRReader.cpp | 40 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 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-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LLVMRemarkStreamer.h | 46 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 44 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | DecodedThread.h | 117 std::unique_ptr<llvm::ErrorInfoBase> m_error;
|
| H A D | DecodedThread.cpp | 40 [&](std::unique_ptr<llvm::ErrorInfoBase> info) { in IntelPTInstruction()
|
| /freebsd-13.1/contrib/llvm-project/lld/Common/ |
| H A D | DWARF.cpp | 21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
|
| H A D | ErrorHandler.cpp | 110 [&](ErrorInfoBase &eib) { error(eib.message()); }); in checkError()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | Serialization.h | 320 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 D | ObjectFilePCHContainerOperations.cpp | 347 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() 355 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
|
| H A D | CodeGenAction.cpp | 939 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 D | DIPrinter.cpp | 267 const ErrorInfoBase &ErrorInfo, in printError() 376 const ErrorInfoBase &ErrorInfo, in printError()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Testing/Support/ |
| H A D | Error.h | 142 for (const std::shared_ptr<ErrorInfoBase> &Info: Holder.Infos) in MatchAndExplain()
|
| H A D | SupportHelpers.h | 26 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | llvm-readobj.cpp | 173 [&](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 D | llvm-symbolizer.cpp | 87 [&](const ErrorInfoBase &EI) { in print()
|