Path: blob/main/contrib/llvm-project/compiler-rt/lib/nsan/nsan_suppressions.h
35233 views
//===-- nsan_suppressions.h -------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// Defines nsan suppression rules.9//===----------------------------------------------------------------------===//1011#ifndef NSAN_SUPPRESSIONS_H12#define NSAN_SUPPRESSIONS_H1314#include "sanitizer_common/sanitizer_suppressions.h"1516namespace __nsan {1718enum class CheckKind { Fcmp, Consistency };1920void InitializeSuppressions();2122__sanitizer::Suppression *23GetSuppressionForStack(const __sanitizer::StackTrace *Stack, CheckKind K);2425} // namespace __nsan2627#endif282930