29 lines · c
1//===-- nsan_suppressions.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-exception6//7//===----------------------------------------------------------------------===//8//9// Defines nsan suppression rules.10//===----------------------------------------------------------------------===//11 12#ifndef NSAN_SUPPRESSIONS_H13#define NSAN_SUPPRESSIONS_H14 15#include "sanitizer_common/sanitizer_suppressions.h"16 17namespace __nsan {18 19enum class CheckKind { Fcmp, Consistency };20 21void InitializeSuppressions();22 23__sanitizer::Suppression *24GetSuppressionForStack(const __sanitizer::StackTrace *Stack, CheckKind K);25 26} // namespace __nsan27 28#endif29