1 //===-- xray_fdr_flags.h ---------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file is a part of XRay, a dynamic runtime instrumentation system.
11 // This file defines the flags for the flight-data-recorder mode implementation.
13 //===----------------------------------------------------------------------===//
14 #ifndef XRAY_FDR_FLAGS_H
15 #define XRAY_FDR_FLAGS_H
17 #include "sanitizer_common/sanitizer_flag_parser.h"
18 #include "sanitizer_common/sanitizer_internal_defs.h"
23 #define XRAY_FLAG(Type, Name, DefaultValue, Description) Type Name;
24 #include "xray_fdr_flags.inc"
30 extern FDRFlags xray_fdr_flags_dont_use_directly
;
31 extern void registerXRayFDRFlags(FlagParser
*P
, FDRFlags
*F
);
32 const char *useCompilerDefinedFDRFlags();
33 inline FDRFlags
*fdrFlags() { return &xray_fdr_flags_dont_use_directly
; }
37 #endif // XRAY_FDR_FLAGS_H