llvm/compiler-rt/lib/nsan/nsan_suppressions.cpp

//===-- nsan_suppressions.cc ----------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "nsan_suppressions.h"
#include "nsan_flags.h"
#include "sanitizer_common/sanitizer_placement_new.h"
#include "sanitizer_common/sanitizer_stacktrace.h"
#include "sanitizer_common/sanitizer_symbolizer.h"

usingnamespace__sanitizer;
usingnamespace__nsan;

SANITIZER_INTERFACE_WEAK_DEF(const char *, __nsan_default_suppressions, void) {}

const char kSuppressionFcmp[] =;
const char kSuppressionConsistency[] =;

alignas(64) static char suppression_placeholder[sizeof(SuppressionContext)];
static SuppressionContext *suppression_ctx;

// The order should match the enum CheckKind.
static const char *kSuppressionTypes[] =;

void __nsan::InitializeSuppressions() {}

static Suppression *GetSuppressionForAddr(uptr addr, const char *suppr_type) {}

Suppression *__nsan::GetSuppressionForStack(const StackTrace *stack,
                                            CheckKind k) {}