| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Error.h | 47 class ErrorInfoBase { 49 virtual ~ErrorInfoBase() = default; 197 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error() 269 ErrorInfoBase *getPtr() const { in getPtr() 271 return reinterpret_cast<ErrorInfoBase*>( in getPtr() 279 void setPtr(ErrorInfoBase *EI) { in setPtr() 281 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr() 300 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked() 307 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload() 308 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | Error.cpp | 55 void ErrorInfoBase::anchor() {} in anchor() 56 char ErrorInfoBase::ID = 0; 67 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in logAllUnhandledErrors() 100 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) { in errorToErrorCode() 158 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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 27 class ErrorInfoBase; variable 54 const ErrorInfoBase &ErrorInfo, 99 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo, 150 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo,
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 107 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError() 209 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile() 236 [&](const ErrorInfoBase &EIB) { in appendFile() 399 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/ |
| H A D | Error.h | 26 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cvtres/ |
| H A D | llvm-cvtres.cpp | 84 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error() 93 [&](const ErrorInfoBase &EI) { reportError(EI.message()); }); in error()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-opt-report/ |
| H A D | OptReport.cpp | 161 handleAllErrors(Format.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo() 171 handleAllErrors(MaybeParser.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo() 188 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in readLocationInfo()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | LLVMRemarkStreamer.h | 53 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
|
| /openbsd-src/gnu/llvm/lld/Common/ |
| H A D | DWARF.cpp | 21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-remark-size-diff/ |
| H A D | RemarkSizeDiff.cpp | 347 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryReadFileAndProcessRemarks() 497 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryOutputAllDiffs()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 371 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH() 379 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | llvm-debuginfo-analyzer.cpp | 44 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 269 const ErrorInfoBase &ErrorInfo, in printError() 378 const ErrorInfoBase &ErrorInfo, in printError()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-mt/ |
| H A D | llvm-mt.cpp | 80 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/orc/tests/unit/ |
| H A D | error_test.cpp | 24 class CustomError : public RTTIExtends<CustomError, ErrorInfoBase> {
|
| /openbsd-src/gnu/llvm/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;
|