1 //===--- rtsan_context.h - Realtime Sanitizer -------------------*- 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 //===----------------------------------------------------------------------===//
25 void ExpectNotRealtime(const char *intercepted_function_name
);
28 bool InRealtimeContext() const;
29 bool IsBypassed() const;
30 void PrintDiagnostics(const char *intercepted_function_name
);
32 int realtime_depth
{0};
36 Context
&GetContextForThisThread();
38 } // namespace __rtsan