reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/ubsan/ubsan_diag.cpp
   58 static const char *ConvertTypeToString(ErrorType Type) {
   69 static const char *ConvertTypeToFlagName(ErrorType Type) {
   80 static void MaybeReportErrorSummary(Location Loc, ErrorType Type) {
   84     Type = ErrorType::GenericUB;
  385                            ErrorType Type)
  419 bool __ubsan::IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename) {
projects/compiler-rt/lib/ubsan/ubsan_diag.h
  142   ErrorType ET;
  208   Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message)
  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);
projects/compiler-rt/lib/ubsan/ubsan_handlers.cpp
   26 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) {
   51   ErrorType ET;
   53     ET = ErrorType::NullPointerUse;
   55     ET = ErrorType::MisalignedPointerUse;
   57     ET = ErrorType::InsufficientObjectSize;
   73   case ErrorType::NullPointerUse:
   77   case ErrorType::MisalignedPointerUse:
   83   case ErrorType::InsufficientObjectSize:
  116   ErrorType ET = ErrorType::AlignmentAssumption;
  116   ErrorType ET = ErrorType::AlignmentAssumption;
  171   ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
  171   ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
  172                           : ErrorType::UnsignedIntegerOverflow;
  210   ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
  210   ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
  211                           : ErrorType::UnsignedIntegerOverflow;
  249   ErrorType ET;
  251     ET = ErrorType::SignedIntegerOverflow;
  253     ET = ErrorType::IntegerDivideByZero;
  255     ET = ErrorType::FloatDivideByZero;
  263   case ErrorType::SignedIntegerOverflow:
  294   ErrorType ET;
  297     ET = ErrorType::InvalidShiftExponent;
  299     ET = ErrorType::InvalidShiftBase;
  306   if (ET == ErrorType::InvalidShiftExponent) {
  341   ErrorType ET = ErrorType::OutOfBoundsIndex;
  341   ErrorType ET = ErrorType::OutOfBoundsIndex;
  367   ErrorType ET = ErrorType::UnreachableCall;
  367   ErrorType ET = ErrorType::UnreachableCall;
  380   ErrorType ET = ErrorType::MissingReturn;
  380   ErrorType ET = ErrorType::MissingReturn;
  396   ErrorType ET = ErrorType::NonPositiveVLAIndex;
  396   ErrorType ET = ErrorType::NonPositiveVLAIndex;
  443   ErrorType ET = ErrorType::FloatCastOverflow;
  443   ErrorType ET = ErrorType::FloatCastOverflow;
  486   ErrorType ET =
  487       IsBool ? ErrorType::InvalidBoolLoad : ErrorType::InvalidEnumLoad;
  487       IsBool ? ErrorType::InvalidBoolLoad : ErrorType::InvalidEnumLoad;
  515   ErrorType ET = ErrorType::GenericUB;
  515   ErrorType ET = ErrorType::GenericUB;
  529       ET = ErrorType::ImplicitUnsignedIntegerTruncation;
  531       ET = ErrorType::ImplicitSignedIntegerTruncation;
  536     ET = ErrorType::ImplicitUnsignedIntegerTruncation;
  539     ET = ErrorType::ImplicitSignedIntegerTruncation;
  542     ET = ErrorType::ImplicitIntegerSignChange;
  545     ET = ErrorType::ImplicitSignedIntegerTruncationOrSignChange;
  579   ErrorType ET = ErrorType::InvalidBuiltin;
  579   ErrorType ET = ErrorType::InvalidBuiltin;
  607   ErrorType ET = ErrorType::InvalidNullReturn;
  607   ErrorType ET = ErrorType::InvalidNullReturn;
  651   ErrorType ET = ErrorType::InvalidNullArgument;
  651   ErrorType ET = ErrorType::InvalidNullArgument;
  694   ErrorType ET;
  697     ET = ErrorType::NullptrWithOffset;
  699     ET = ErrorType::NullptrWithNonZeroOffset;
  701     ET = ErrorType::NullptrAfterNonZeroOffset;
  703     ET = ErrorType::PointerOverflow;
  710   if (ET == ErrorType::NullptrWithOffset) {
  712   } else if (ET == ErrorType::NullptrWithNonZeroOffset) {
  715   } else if (ET == ErrorType::NullptrAfterNonZeroOffset) {
  757   ErrorType ET = ErrorType::CFIBadType;
  757   ErrorType ET = ErrorType::CFIBadType;
projects/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cpp
   46   ErrorType ET = ErrorType::DynamicTypeMismatch;
   46   ErrorType ET = ErrorType::DynamicTypeMismatch;
  101   ErrorType ET = ErrorType::CFIBadType;
  101   ErrorType ET = ErrorType::CFIBadType;
  169   ErrorType ET = ErrorType::FunctionTypeMismatch;
  169   ErrorType ET = ErrorType::FunctionTypeMismatch;