1//===-- hwasan_flags.h ------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file is a part of HWAddressSanitizer.
10//
11//===----------------------------------------------------------------------===//
12#ifndef HWASAN_FLAGS_H
13#define HWASAN_FLAGS_H
14
15namespace __hwasan {
16
17struct Flags {
18#define HWASAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
19#include "hwasan_flags.inc"
20#undef HWASAN_FLAG
21
22  void SetDefaults();
23};
24
25Flags *flags();
26
27}  // namespace __hwasan
28
29#endif  // HWASAN_FLAGS_H
30