brintos

brintos / llvm-project-archived public Read only

0
0
Text · 854 B · b177501 Raw
32 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file is a part of HWAddressSanitizer.10//11//===----------------------------------------------------------------------===//12#ifndef HWASAN_FLAGS_H13#define HWASAN_FLAGS_H14 15#include "sanitizer_common/sanitizer_internal_defs.h"16 17namespace __hwasan {18 19struct Flags {20#define HWASAN_FLAG(Type, Name, DefaultValue, Description) Type Name;21#include "hwasan_flags.inc"22#undef HWASAN_FLAG23 24  void SetDefaults();25};26 27Flags *flags();28 29}  // namespace __hwasan30 31#endif  // HWASAN_FLAGS_H32