1 | //===--- rtsan_suppressions.h - Realtime Sanitizer --------------*- C++ -*-===// |
2 | // |
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 |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // This file is a part of the RTSan runtime, providing support for suppressions |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #pragma once |
14 | |
15 | #include "sanitizer_common/sanitizer_stacktrace.h" |
16 | |
17 | namespace __rtsan { |
18 | |
19 | void InitializeSuppressions(); |
20 | bool IsStackTraceSuppressed(const __sanitizer::StackTrace &stack); |
21 | bool IsFunctionSuppressed(const char *function_name); |
22 | |
23 | } // namespace __rtsan |
24 | |