Path: blob/main/contrib/llvm-project/compiler-rt/lib/rtsan/rtsan_flags.h
213766 views
//===----------------------- rtsan_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 RealtimeSanitizer.9//10//===----------------------------------------------------------------------===//11#pragma once1213namespace __rtsan {1415struct Flags {16#define RTSAN_FLAG(Type, Name, DefaultValue, Description) \17Type Name{DefaultValue};18#include "rtsan_flags.inc"19#undef RTSAN_FLAG2021bool ContainsSuppresionFile() { return suppressions[0] != '\0'; }22};2324extern Flags flags_data;25inline Flags &flags() { return flags_data; }2627void InitializeFlags();2829} // namespace __rtsan303132