]>
git.proxmox.com Git - rustc.git/blob - src/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_suppressions.h
1 //===-- tsan_suppressions.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer (TSan), a race detector.
12 //===----------------------------------------------------------------------===//
13 #ifndef TSAN_SUPPRESSIONS_H
14 #define TSAN_SUPPRESSIONS_H
16 #include "tsan_report.h"
20 void InitializeSuppressions();
21 void FinalizeSuppressions();
22 bool IsSuppressed(ReportType typ
, const ReportStack
*stack
);
24 // Exposed for testing.
25 enum SuppressionType
{
38 Suppression
*SuppressionParse(const char* supp
);
39 bool SuppressionMatch(char *templ
, const char *str
);
43 #endif // TSAN_SUPPRESSIONS_H