//===-- nsan_stats.h --------------------------------------------*- C++- *-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file is a part of NumericalStabilitySanitizer. // // NSan statistics. This class counts the number of checks per code location, // and is used to output statistics (typically when using // `disable_warnings=1,enable_check_stats=1,enable_warning_stats=1`). //===----------------------------------------------------------------------===// #ifndef NSAN_STATS_H #define NSAN_STATS_H #include "sanitizer_common/sanitizer_addrhashmap.h" #include "sanitizer_common/sanitizer_internal_defs.h" #include "sanitizer_common/sanitizer_mutex.h" namespace __nsan { enum class CheckTypeT { … }; class Stats { … }; extern Stats *nsan_stats; void InitializeStats(); } // namespace __nsan #endif // NSAN_STATS_H