tsan_suppressions.h 871 B

123456789101112131415161718192021222324252627
  1. //===-- tsan_suppressions.h -------------------------------------*- C++ -*-===//
  2. //
  3. // This file is distributed under the University of Illinois Open Source
  4. // License. See LICENSE.TXT for details.
  5. //
  6. //===----------------------------------------------------------------------===//
  7. //
  8. // This file is a part of ThreadSanitizer (TSan), a race detector.
  9. //
  10. //===----------------------------------------------------------------------===//
  11. #ifndef TSAN_SUPPRESSIONS_H
  12. #define TSAN_SUPPRESSIONS_H
  13. #include "sanitizer_common/sanitizer_suppressions.h"
  14. #include "tsan_report.h"
  15. namespace __tsan {
  16. void InitializeSuppressions();
  17. void PrintMatchedSuppressions();
  18. uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
  19. uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
  20. } // namespace __tsan
  21. #endif // TSAN_SUPPRESSIONS_H