1 //===-- tsan_ignoreset.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 // IgnoreSet holds a set of stack traces where ignores were enabled.
13 //===----------------------------------------------------------------------===//
14 #ifndef TSAN_IGNORESET_H
15 #define TSAN_IGNORESET_H
17 #include "tsan_defs.h"
23 static const uptr kMaxSize = 16;
26 void Add(u32 stack_id);
33 u32 stacks_[kMaxSize];
38 #endif // TSAN_IGNORESET_H