Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/
H A Dubsan_handlers.cpp27 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport()
91 ErrorType ET; in handleTypeMismatchImpl()
94 ? ErrorType::NullPointerUseWithNullability in handleTypeMismatchImpl()
95 : ErrorType::NullPointerUse; in handleTypeMismatchImpl()
97 ET = ErrorType::MisalignedPointerUse; in handleTypeMismatchImpl()
99 ET = ErrorType::InsufficientObjectSize; in handleTypeMismatchImpl()
115 case ErrorType::NullPointerUse: in handleTypeMismatchImpl()
116 case ErrorType::NullPointerUseWithNullability: in handleTypeMismatchImpl()
120 case ErrorType::MisalignedPointerUse: in handleTypeMismatchImpl()
126 case ErrorType::InsufficientObjectSize: in handleTypeMismatchImpl()
[all …]
H A Dubsan_diag.h123 enum class ErrorType { enum
142 ErrorType ET;
208 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
231 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
249 ErrorType Type;
252 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
262 bool IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename);
H A Dubsan_handlers_cxx.cpp46 ErrorType ET = ErrorType::DynamicTypeMismatch; in HandleDynamicTypeCacheMiss()
101 ErrorType ET = ErrorType::CFIBadType; in __ubsan_handle_cfi_bad_type()
169 ErrorType ET = ErrorType::FunctionTypeMismatch; in handleFunctionTypeMismatch()
H A Dubsan_diag.cpp58 static const char *ConvertTypeToString(ErrorType Type) { in ConvertTypeToString()
61 case ErrorType::Name: \ in ConvertTypeToString()
69 static const char *ConvertTypeToFlagName(ErrorType Type) { in ConvertTypeToFlagName()
72 case ErrorType::Name: \ in ConvertTypeToFlagName()
80 static void MaybeReportErrorSummary(Location Loc, ErrorType Type) { in MaybeReportErrorSummary()
84 Type = ErrorType::GenericUB; in MaybeReportErrorSummary()
385 ErrorType Type) in ScopedReport()
423 bool __ubsan::IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename) { in IsPCSuppressed()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_handlers.cc27 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport()
52 ErrorType ET; in handleTypeMismatchImpl()
54 ET = ErrorType::NullPointerUse; in handleTypeMismatchImpl()
56 ET = ErrorType::MisalignedPointerUse; in handleTypeMismatchImpl()
58 ET = ErrorType::InsufficientObjectSize; in handleTypeMismatchImpl()
74 case ErrorType::NullPointerUse: in handleTypeMismatchImpl()
78 case ErrorType::MisalignedPointerUse: in handleTypeMismatchImpl()
84 case ErrorType::InsufficientObjectSize: in handleTypeMismatchImpl()
116 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow in handleIntegerOverflowImpl()
117 : ErrorType::UnsignedIntegerOverflow; in handleIntegerOverflowImpl()
[all …]
H A Dubsan_diag.h124 enum class ErrorType { enum
143 ErrorType ET;
209 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
232 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
253 ErrorType Type;
256 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
266 bool IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename);
H A Dubsan_handlers_cxx.cc47 ErrorType ET = ErrorType::DynamicTypeMismatch; in HandleDynamicTypeCacheMiss()
102 ErrorType ET = ErrorType::CFIBadType; in __ubsan_handle_cfi_bad_type()
H A Dubsan_diag.cc51 static const char *ConvertTypeToString(ErrorType Type) { in ConvertTypeToString()
54 case ErrorType::Name: \ in ConvertTypeToString()
62 static const char *ConvertTypeToFlagName(ErrorType Type) { in ConvertTypeToFlagName()
65 case ErrorType::Name: \ in ConvertTypeToFlagName()
73 static void MaybeReportErrorSummary(Location Loc, ErrorType Type) { in MaybeReportErrorSummary()
77 Type = ErrorType::GenericUB; in MaybeReportErrorSummary()
378 ErrorType Type) in ScopedReport()
412 bool __ubsan::IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename) { in IsPCSuppressed()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_handlers.cc25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport()
50 ErrorType ET; in handleTypeMismatchImpl()
52 ET = ErrorType::NullPointerUse; in handleTypeMismatchImpl()
54 ET = ErrorType::MisalignedPointerUse; in handleTypeMismatchImpl()
56 ET = ErrorType::InsufficientObjectSize; in handleTypeMismatchImpl()
72 case ErrorType::NullPointerUse: in handleTypeMismatchImpl()
76 case ErrorType::MisalignedPointerUse: in handleTypeMismatchImpl()
82 case ErrorType::InsufficientObjectSize: in handleTypeMismatchImpl()
114 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow in handleIntegerOverflowImpl()
115 : ErrorType::UnsignedIntegerOverflow; in handleIntegerOverflowImpl()
[all …]
H A Dubsan_diag.h122 enum class ErrorType { enum
141 ErrorType ET;
207 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
230 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
251 ErrorType Type;
254 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
264 bool IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename);
H A Dubsan_handlers_cxx.cc45 ErrorType ET = ErrorType::DynamicTypeMismatch; in HandleDynamicTypeCacheMiss()
101 ErrorType ET = ErrorType::CFIBadType; in __ubsan_handle_cfi_bad_type()
H A Dubsan_diag.cc49 static const char *ConvertTypeToString(ErrorType Type) { in ConvertTypeToString()
52 case ErrorType::Name: \ in ConvertTypeToString()
60 static const char *ConvertTypeToFlagName(ErrorType Type) { in ConvertTypeToFlagName()
63 case ErrorType::Name: \ in ConvertTypeToFlagName()
71 static void MaybeReportErrorSummary(Location Loc, ErrorType Type) { in MaybeReportErrorSummary()
75 Type = ErrorType::GenericUB; in MaybeReportErrorSummary()
376 ErrorType Type) in ScopedReport()
410 bool __ubsan::IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename) { in IsPCSuppressed()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h59 enum ErrorType { enum
144 ArgStream addError(SourceRange Range, ErrorType Error);
158 ErrorType Type;
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build/libexec/
H A Dccc-analyzer148 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
153 if ($ErrorType eq $ParserRejects) {
156 elsif ($ErrorType eq $AttributeIgnored) {
159 elsif ($ErrorType eq $OtherError) {
173 print OUT "$ErrorType\n";
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp66 ErrorType Error) { in addError()
86 static StringRef errorTypeToFormatString(Diagnostics::ErrorType Type) { in errorTypeToFormatString()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
H A Dkfd_events.c1035 memory_exception_data.ErrorType = KFD_MEM_ERR_SRAM_ECC; in kfd_signal_reset_event()
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dactbl1.h1293 UINT32 ErrorType;
1285 UINT32 ErrorType; global() member