1 //===-- xray_flags.inc ------------------------------------------*- 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 // XRay runtime flags.
12 //===----------------------------------------------------------------------===//
14 #error "Define XRAY_FLAG prior to including this file!"
17 XRAY_FLAG(bool, patch_premain, true,
18 "Whether to patch instrumentation points before main.")
19 XRAY_FLAG(bool, xray_naive_log, true,
20 "Whether to install the naive log implementation.")
21 XRAY_FLAG(const char *, xray_logfile_base, "xray-log.",
22 "Filename base for the xray logfile.")