• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/

Lines Matching refs:ScopedInErrorReport

120 // Use ScopedInErrorReport to run common actions just before and
122 class ScopedInErrorReport {
124 explicit ScopedInErrorReport(bool fatal = false)
135 ~ScopedInErrorReport() {
191 // Can only report one error per ScopedInErrorReport.
208 ErrorDescription ScopedInErrorReport::current_error_(LINKER_INITIALIZED);
211 ScopedInErrorReport in_report(/*fatal*/ true);
217 ScopedInErrorReport in_report;
225 ScopedInErrorReport in_report;
232 ScopedInErrorReport in_report;
240 ScopedInErrorReport in_report;
247 ScopedInErrorReport in_report;
254 ScopedInErrorReport in_report;
261 ScopedInErrorReport in_report(/*fatal*/ true);
268 ScopedInErrorReport in_report(/*fatal*/ true);
274 ScopedInErrorReport in_report(/*fatal*/ true);
281 ScopedInErrorReport in_report(/*fatal*/ true);
289 ScopedInErrorReport in_report(/*fatal*/ true);
297 ScopedInErrorReport in_report(/*fatal*/ true);
305 ScopedInErrorReport in_report(/*fatal*/ true);
312 ScopedInErrorReport in_report(/*fatal*/ true);
318 ScopedInErrorReport in_report(/*fatal*/ true);
327 ScopedInErrorReport in_report;
336 ScopedInErrorReport in_report;
345 ScopedInErrorReport in_report;
353 ScopedInErrorReport in_report;
362 ScopedInErrorReport in_report;
433 ScopedInErrorReport in_report;
470 ScopedInErrorReport in_report(fatal);
501 return ScopedInErrorReport::CurrentError().kind != kErrorKindInvalid;
505 if (ScopedInErrorReport::CurrentError().kind == kErrorKindGeneric)
506 return ScopedInErrorReport::CurrentError().Generic.pc;
511 if (ScopedInErrorReport::CurrentError().kind == kErrorKindGeneric)
512 return ScopedInErrorReport::CurrentError().Generic.bp;
517 if (ScopedInErrorReport::CurrentError().kind == kErrorKindGeneric)
518 return ScopedInErrorReport::CurrentError().Generic.sp;
523 ErrorDescription &err = ScopedInErrorReport::CurrentError();
532 if (ScopedInErrorReport::CurrentError().kind == kErrorKindGeneric)
533 return ScopedInErrorReport::CurrentError().Generic.is_write;
538 if (ScopedInErrorReport::CurrentError().kind == kErrorKindGeneric)
539 return ScopedInErrorReport::CurrentError().Generic.access_size;
544 if (ScopedInErrorReport::CurrentError().kind == kErrorKindGeneric)
545 return ScopedInErrorReport::CurrentError().Generic.bug_descr;
546 return ScopedInErrorReport::CurrentError().Base.scariness.GetDescription();