Path: blob/main/contrib/llvm-project/compiler-rt/lib/nsan/nsan_flags.h
35233 views
//===-- nsan_flags.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// This file is a part of NumericalStabilitySanitizer.9//===----------------------------------------------------------------------===//1011#ifndef NSAN_FLAGS_H12#define NSAN_FLAGS_H1314namespace __nsan {1516struct Flags {17#define NSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;18#include "nsan_flags.inc"19#undef NSAN_FLAG2021double cached_absolute_error_threshold = 0.0;2223void SetDefaults();24void PopulateCache();25};2627extern Flags flags_data;28inline Flags &flags() { return flags_data; }2930void InitializeFlags();3132} // namespace __nsan3334#endif353637