Path: blob/main/contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_flags.h
35233 views
//===-- dfsan_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 DataFlowSanitizer.9//10// DFSan flags.11//===----------------------------------------------------------------------===//1213#ifndef DFSAN_FLAGS_H14#define DFSAN_FLAGS_H1516namespace __dfsan {1718struct Flags {19#define DFSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;20#include "dfsan_flags.inc"21#undef DFSAN_FLAG2223void SetDefaults();24};2526extern Flags flags_data;27inline Flags &flags() { return flags_data; }2829} // namespace __dfsan3031#endif // DFSAN_FLAGS_H323334