//===-- nsan_flags.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 // //===----------------------------------------------------------------------===// // // This file is a part of NumericalStabilitySanitizer. // //===----------------------------------------------------------------------===// #include "nsan_flags.h" #include "sanitizer_common/sanitizer_flag_parser.h" #include "sanitizer_common/sanitizer_flags.h" usingnamespace__sanitizer; usingnamespace__nsan; SANITIZER_INTERFACE_WEAK_DEF(const char *, __nsan_default_options, void) { … } Flags __nsan::flags_data; void Flags::SetDefaults() { … } void Flags::PopulateCache() { … } static void RegisterNSanFlags(FlagParser *parser, Flags *f) { … } static const char *MaybeCallNsanDefaultOptions() { … } void __nsan::InitializeFlags() { … }