1 //===-- xray_fdr_flags.h ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of XRay, a dynamic runtime instrumentation system.
12 // This file defines the flags for the flight-data-recorder mode implementation.
14 //===----------------------------------------------------------------------===//
15 #ifndef XRAY_FDR_FLAGS_H
16 #define XRAY_FDR_FLAGS_H
18 #include "sanitizer_common/sanitizer_flag_parser.h"
19 #include "sanitizer_common/sanitizer_internal_defs.h"
24 #define XRAY_FLAG(Type, Name, DefaultValue, Description) Type Name;
25 #include "xray_fdr_flags.inc"
31 extern FDRFlags xray_fdr_flags_dont_use_directly;
32 extern void registerXRayFDRFlags(FlagParser *P, FDRFlags *F);
33 const char *useCompilerDefinedFDRFlags();
34 inline FDRFlags *fdrFlags() { return &xray_fdr_flags_dont_use_directly; }
38 #endif // XRAY_FDR_FLAGS_H