2012-11-22 23:03:11 +01:00
|
|
|
//===-- tsan_suppressions.h -------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of ThreadSanitizer (TSan), a race detector.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TSAN_SUPPRESSIONS_H
|
|
|
|
#define TSAN_SUPPRESSIONS_H
|
|
|
|
|
2013-11-04 22:33:31 +01:00
|
|
|
#include "sanitizer_common/sanitizer_suppressions.h"
|
2012-11-22 23:03:11 +01:00
|
|
|
#include "tsan_report.h"
|
|
|
|
|
|
|
|
namespace __tsan {
|
|
|
|
|
|
|
|
void InitializeSuppressions();
|
2013-11-04 22:33:31 +01:00
|
|
|
void PrintMatchedSuppressions();
|
|
|
|
uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
|
|
|
|
uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
|
2013-12-05 10:18:38 +01:00
|
|
|
SuppressionContext *GetSuppressionContext();
|
2012-11-22 23:03:11 +01:00
|
|
|
|
|
|
|
} // namespace __tsan
|
|
|
|
|
|
|
|
#endif // TSAN_SUPPRESSIONS_H
|