17ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany//===-- tsan_suppressions.h -------------------------------------*- C++ -*-===// 27ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// 37ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// The LLVM Compiler Infrastructure 47ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// 57ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// This file is distributed under the University of Illinois Open Source 67ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// License. See LICENSE.TXT for details. 77ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// 87ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany//===----------------------------------------------------------------------===// 97ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// 107ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// This file is a part of ThreadSanitizer (TSan), a race detector. 117ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany// 127ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany//===----------------------------------------------------------------------===// 137ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany#ifndef TSAN_SUPPRESSIONS_H 147ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany#define TSAN_SUPPRESSIONS_H 157ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany 16a52e5c6f371bcc66e89792db1219a557664aab8dSergey Matveev#include "sanitizer_common/sanitizer_suppressions.h" 177ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany#include "tsan_report.h" 187ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany 197ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryanynamespace __tsan { 207ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany 21f754eb501d6bd163fff6747716b7703fe45be4b8Dmitry Vyukovvoid InitializeSuppressions(); 22f754eb501d6bd163fff6747716b7703fe45be4b8Dmitry Vyukovvoid PrintMatchedSuppressions(); 23f754eb501d6bd163fff6747716b7703fe45be4b8Dmitry Vyukovuptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp); 2439968339a07d790aadcf27534f92a0de8c0c90fbDmitry Vyukovuptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp); 254af0f21c0c98950df1136dbec8824a029ed5bb8eDmitry VyukovSuppressionContext *GetSuppressionContext(); 267ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany 277ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany} // namespace __tsan 287ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany 297ac41484ea322e0ea5774df681660269f5dc321eKostya Serebryany#endif // TSAN_SUPPRESSIONS_H 30