| 1 | //===-- sanitizer_thread_history.h ------------------------------*- 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 | // Utility to print thread histroy from ThreadRegistry. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #ifndef SANITIZER_THREAD_HISTORY_H |
| 14 | #define SANITIZER_THREAD_HISTORY_H |
| 15 | |
| 16 | #include "sanitizer_thread_registry.h" |
| 17 | |
| 18 | namespace __sanitizer { |
| 19 | |
| 20 | void PrintThreadHistory(ThreadRegistry& registry, InternalScopedString& out); |
| 21 | |
| 22 | } // namespace __sanitizer |
| 23 | |
| 24 | #endif // SANITIZER_THREAD_HISTORY_H |
| 25 | |