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