Home
last modified time | relevance | path

Searched refs:ErrorInfo (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStatus.h36 : public llvm::ErrorInfo<CloneableError, llvm::ErrorInfoBase> {
38 using llvm::ErrorInfo<CloneableError, llvm::ErrorInfoBase>::ErrorInfo;
39 CloneableError() : ErrorInfo() {} in CloneableError()
48 : public llvm::ErrorInfo<CloneableECError, CloneableError> {
50 using llvm::ErrorInfo<CloneableECError, CloneableError>::ErrorInfo;
59 CloneableECError(std::error_code ec) : ErrorInfo(), EC(ec) {} in CloneableECError()
64 : public llvm::ErrorInfo<MachKernelError, CloneableECError> {
66 using llvm::ErrorInfo<MachKernelError, CloneableECError>::ErrorInfo;
67 MachKernelError(std::error_code ec) : ErrorInfo(ec) {} in MachKernelError()
74 class Win32Error : public llvm::ErrorInfo<Win32Error, CloneableECError> {
[all …]
H A DDiagnosticsRendering.h68 : public llvm::ErrorInfo<DiagnosticError, CloneableECError> {
70 using llvm::ErrorInfo<DiagnosticError, CloneableECError>::ErrorInfo;
71 DiagnosticError(std::error_code ec) : ErrorInfo(ec) {} in DiagnosticError()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp54 uint64_t &ErrorInfo,
384 uint64_t ErrorInfo) { in RefineErrorLoc() argument
385 if (ErrorInfo != ~0ULL && ErrorInfo < Operands.size()) { in RefineErrorLoc()
386 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in RefineErrorLoc()
452 uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
456 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in matchAndEmitInstruction()
472 if (ErrorInfo != ~0U) { in matchAndEmitInstruction()
473 if (ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
476 ErrorLoc = ((XtensaOperand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitInstruction()
483 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in matchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp64 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
72 uint64_t &ErrorInfo,
653 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
655 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
662 uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
667 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in matchAndEmitInstruction()
695 if (ErrorInfo != ~0U) { in matchAndEmitInstruction()
696 if (ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
699 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitInstruction()
712 if (ErrorInfo != ~0U && ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAError.h42 class DIAError : public ErrorInfo<DIAError, StringError> {
44 using ErrorInfo<DIAError, StringError>::ErrorInfo;
45 DIAError(const Twine &S) : ErrorInfo(S, dia_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewError.h42 class CodeViewError : public ErrorInfo<CodeViewError, StringError> {
44 using ErrorInfo<CodeViewError,
45 StringError>::ErrorInfo; // inherit constructors
46 CodeViewError(const Twine &S) : ErrorInfo(S, cv_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DGenericError.h43 class PDBError : public ErrorInfo<PDBError, StringError> {
45 using ErrorInfo<PDBError, StringError>::ErrorInfo; // inherit constructors
46 PDBError(const Twine &S) : ErrorInfo(S, pdb_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp65 uint64_t &ErrorInfo,
75 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
1644 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
1646 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1653 uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
1658 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in matchAndEmitInstruction()
1686 if (ErrorInfo != ~0ULL) { in matchAndEmitInstruction()
1687 if (ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
1690 ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitInstruction()
1703 if (ErrorInfo != ~0ULL && ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawError.h49 class RawError : public ErrorInfo<RawError, StringError> {
51 using ErrorInfo<RawError, StringError>::ErrorInfo; // inherit constructors
52 RawError(const Twine &S) : ErrorInfo(S, raw_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFError.h47 class MSFError : public ErrorInfo<MSFError, StringError> {
49 using ErrorInfo<MSFError, StringError>::ErrorInfo; // inherit constructors
50 MSFError(const Twine &S) : ErrorInfo(S, msf_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp101 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
109 uint64_t &ErrorInfo,
1372 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
1374 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1381 uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
1386 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in matchAndEmitInstruction()
1416 if (ErrorInfo != ~0ULL) { in matchAndEmitInstruction()
1417 if (ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
1420 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitInstruction()
1433 if (ErrorInfo != ~0ULL && ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/ValueObject/
H A DDILParser.h36 : public llvm::ErrorInfo<DILDiagnosticError, DiagnosticError> {
40 using llvm::ErrorInfo<DILDiagnosticError, DiagnosticError>::ErrorInfo;
42 : ErrorInfo(make_error_code(std::errc::invalid_argument)), in DILDiagnosticError()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/
H A DProtocol.h36 struct ErrorInfo { struct
42 llvm::json::Value toJSON(const ErrorInfo &); argument
43 bool fromJSON(const llvm::json::Value &, ErrorInfo &, llvm::json::Path);
47 ErrorInfo error;
56 std::optional<ErrorInfo> error;
H A DMCPError.h16 class MCPError : public llvm::ErrorInfo<MCPError> {
37 class UnsupportedURI : public llvm::ErrorInfo<UnsupportedURI> {
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp39 uint64_t &ErrorInfo,
312 MCStreamer &Out, uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
320 switch (MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm)) { in matchAndEmitInstruction()
334 if (ErrorInfo != ~0U) { in matchAndEmitInstruction()
335 if (ErrorInfo >= Operands.size()) in matchAndEmitInstruction()
338 ErrorLoc = ((BPFOperand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitInstruction()
346 return Error(Operands[ErrorInfo]->getStartLoc(), in matchAndEmitInstruction()
349 return Error(Operands[ErrorInfo]->getStartLoc(), in matchAndEmitInstruction()
352 return Error(Operands[ErrorInfo]->getStartLoc(), in matchAndEmitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp55 uint64_t &ErrorInfo,
88 uint64_t const &ErrorInfo);
89 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
290 uint64_t const &ErrorInfo) { in invalidOperand() argument
294 if (ErrorInfo != ~0U) { in invalidOperand()
295 if (ErrorInfo >= Operands.size()) { in invalidOperand()
298 AVROperand const &Op = (AVROperand const &)*Operands[ErrorInfo]; in invalidOperand()
315 uint64_t const &ErrorInfo) { in missingFeature() argument
328 MCStreamer &Out, uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
332 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in matchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp11668 bool checkStmt(Stmt *S, ErrorInfoTy &ErrorInfo);
11696 bool checkCondUpdateStmt(IfStmt *S, ErrorInfoTy &ErrorInfo);
11699 bool checkCondExprStmt(Stmt *S, ErrorInfoTy &ErrorInfo);
11702 bool checkType(ErrorInfoTy &ErrorInfo) const;
11704 static bool CheckValue(const Expr *E, ErrorInfoTy &ErrorInfo, in CheckValue() argument
11710 ErrorInfo.Error = ErrorTy::XNotLValue; in CheckValue()
11711 ErrorInfo.ErrorLoc = ErrorInfo.NoteLoc = E->getExprLoc(); in CheckValue()
11712 ErrorInfo.ErrorRange = ErrorInfo.NoteRange = E->getSourceRange(); in CheckValue()
11718 ErrorInfo.Error = ErrorTy::NotScalar; in CheckValue()
11719 ErrorInfo.ErrorLoc = ErrorInfo.NoteLoc = E->getExprLoc(); in CheckValue()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLLexer.h38 struct ErrorInfo { struct
42 explicit ErrorInfo(SMDiagnostic &Error) : Error(Error) {} in ErrorInfo() argument
43 } ErrorInfo; variable
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DJSONTransport.h26 class TransportEOFError : public llvm::ErrorInfo<TransportEOFError> {
40 class TransportTimeoutError : public llvm::ErrorInfo<TransportTimeoutError> {
54 class TransportInvalidError : public llvm::ErrorInfo<TransportInvalidError> {
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDiagnosticManager.h30 : public llvm::ErrorInfo<ExpressionError, DiagnosticError> {
36 using llvm::ErrorInfo<ExpressionError, DiagnosticError>::ErrorInfo;
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp44 const uint64_t &ErrorInfo);
45 bool missingFeature(const SMLoc &Loc, const uint64_t &ErrorInfo);
77 uint64_t &ErrorInfo,
997 uint64_t const &ErrorInfo) { in invalidOperand() argument
1001 if (ErrorInfo != ~0U) { in invalidOperand()
1002 if (ErrorInfo >= Operands.size()) { in invalidOperand()
1005 auto const &Op = (M68kOperand const &)*Operands[ErrorInfo]; in invalidOperand()
1020 uint64_t const &ErrorInfo) { in missingFeature() argument
1035 uint64_t &ErrorInfo, in matchAndEmitInstruction() argument
1039 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in matchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/
H A Dget_error_info_fuzzer.cpp46 scudo_error_info ErrorInfo; in LLVMFuzzerTestOneInput() local
47 AllocatorT::getErrorInfo(&ErrorInfo, FaultAddr, StackDepotBytes.data(), in LLVMFuzzerTestOneInput()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DError.h53 class LLVM_ABI BinaryError : public ErrorInfo<BinaryError, ECError> {
68 : public ErrorInfo<GenericBinaryError, BinaryError> {
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DOrcError.h48 class LLVM_ABI DuplicateDefinition : public ErrorInfo<DuplicateDefinition> {
64 class LLVM_ABI JITSymbolNotFound : public ErrorInfo<JITSymbolNotFound> {
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h55 const ErrorInfoBase &ErrorInfo) = 0;
102 const ErrorInfoBase &ErrorInfo) override;
153 const ErrorInfoBase &ErrorInfo) override;

1234