blob: 0ac81fcf154da36e80872158804be9abf107e12e [file] [log] [blame]
//===-- nsan_suppressions.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
//
//===----------------------------------------------------------------------===//
//
// Defines nsan suppression rules.
//===----------------------------------------------------------------------===//
#ifndef NSAN_SUPPRESSIONS_H
#define NSAN_SUPPRESSIONS_H
#include "sanitizer_common/sanitizer_suppressions.h"
namespace __nsan {
enum class CheckKind { Fcmp, Consistency };
void InitializeSuppressions();
__sanitizer::Suppression *
GetSuppressionForStack(const __sanitizer::StackTrace *Stack, CheckKind K);
} // namespace __nsan
#endif