]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libsanitizer/tsan/tsan_ignoreset.h
1 //===-- tsan_ignoreset.h ----------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file is a part of ThreadSanitizer (TSan), a race detector.
11 // IgnoreSet holds a set of stack traces where ignores were enabled.
12 //===----------------------------------------------------------------------===//
13 #ifndef TSAN_IGNORESET_H
14 #define TSAN_IGNORESET_H
16 #include "tsan_defs.h"
22 static const uptr kMaxSize
= 16;
25 void Add(u32 stack_id
);
32 u32 stacks_
[kMaxSize
];
37 #endif // TSAN_IGNORESET_H