Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DError.h49 class ErrorInfoBase {
51 virtual ~ErrorInfoBase() = default;
199 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error()
272 ErrorInfoBase *getPtr() const { in getPtr()
273 return reinterpret_cast<ErrorInfoBase*>( in getPtr()
278 void setPtr(ErrorInfoBase *EI) { in setPtr()
280 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr()
298 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked()
304 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload()
319 ErrorInfoBase *Payload = nullptr;
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DError.cpp54 void ErrorInfoBase::anchor() {} in anchor()
55 char ErrorInfoBase::ID = 0;
66 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in logAllUnhandledErrors()
96 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) { in errorToErrorCode()
153 return reinterpret_cast<ErrorInfoBase *>(Err)->dynamicClassID(); in LLVMGetErrorTypeId()
/freebsd-12.1/contrib/llvm/lib/Testing/Support/
H A DError.cpp17 std::vector<std::shared_ptr<ErrorInfoBase>> Infos; in TakeError()
19 [&Infos](std::unique_ptr<ErrorInfoBase> Info) { in TakeError()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp46 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMParseBitcodeInContext()
92 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMGetBitcodeModuleInContext()
/freebsd-12.1/contrib/llvm/lib/IRReader/
H A DIRReader.cpp41 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule()
81 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR()
/freebsd-12.1/contrib/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp148 handleAllErrors(MOrErr.takeError(), [&](const ErrorInfoBase &EIB) { in libDriverMain()
170 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/
H A DBuffer.cpp24 handleAllErrors(BufferOrErr.takeError(), [this](const ErrorInfoBase &E) { in allocate()
/freebsd-12.1/contrib/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h23 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp40 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
/freebsd-12.1/contrib/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp40 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
H A Dxray-graph.cpp469 [&](const ErrorInfoBase &E) { E.log(errs()); }); in getGraphRenderer()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DRPCSerialization.h372 std::function<Error(ChannelT &C, const ErrorInfoBase&)>;
403 [KeyName, Serialize](ChannelT &C, const ErrorInfoBase &EIB) -> Error { in registerErrorType()
420 [&C](const ErrorInfoBase &EIB) { in serialize()
448 static Error serializeAsStringError(ChannelT &C, const ErrorInfoBase &EIB) { in serializeAsStringError()
H A DRemoteObjectLayer.h182 [this](std::unique_ptr<ErrorInfoBase> EIB) { in teeLog()
H A DOrcRemoteTargetClient.h201 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) {
/freebsd-12.1/contrib/llvm/tools/lld/Common/
H A DErrorHandler.cpp85 [&](ErrorInfoBase &EIB) { error(EIB.message()); }); in checkError()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DRelocVisitor.h121 handleAllErrors(AddendOrErr.takeError(), [](const ErrorInfoBase &EI) { in getELFAddend()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp346 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
H A DBackendUtil.cpp1201 handleAllErrors(BMOrErr.takeError(), [&](ErrorInfoBase &EIB) { in runThinLTOBackend()
1218 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in runThinLTOBackend()
1262 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in runThinLTOBackend()
H A DCodeGenAction.cpp876 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in CreateASTConsumer()
952 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in loadModule()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp188 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadModuleFromBuffer()
212 handleAllErrors(Result.takeError(), [&](ErrorInfoBase &EIB) { in crossImportIntoModule()
/freebsd-12.1/contrib/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp123 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in check()
/freebsd-12.1/contrib/llvm/lib/Linker/
H A DLinkModules.cpp558 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in run()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp355 [&](const ErrorInfoBase &EI) { reportError(EI.message()); }); in error()
/freebsd-12.1/contrib/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp138 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in failIfError()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp660 [&W](const ErrorInfoBase &EI) { EI.log(W.startLine()); }); in dumpEntry()

12