Path: blob/main/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sancov_flags.h
35233 views
//===-- sancov_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// Sanitizer Coverage runtime flags.9//10//===----------------------------------------------------------------------===//11#ifndef SANCOV_FLAGS_H12#define SANCOV_FLAGS_H1314#include "sanitizer_flag_parser.h"15#include "sanitizer_internal_defs.h"1617namespace __sancov {1819struct SancovFlags {20#define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name;21#include "sancov_flags.inc"22#undef SANCOV_FLAG2324void SetDefaults();25};2627extern SancovFlags sancov_flags_dont_use_directly;2829inline SancovFlags* sancov_flags() { return &sancov_flags_dont_use_directly; }3031void InitializeSancovFlags();3233} // namespace __sancov3435extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char*36__sancov_default_options();3738#endif394041