8#ifndef LLVM_CLANG_DRIVER_XRAYARGS_H
9#define LLVM_CLANG_DRIVER_XRAYARGS_H
13#include "llvm/Option/Arg.h"
14#include "llvm/Option/ArgList.h"
22 std::vector<std::string> AlwaysInstrumentFiles;
23 std::vector<std::string> NeverInstrumentFiles;
24 std::vector<std::string> AttrListFiles;
25 std::vector<std::string> ExtraDeps;
26 std::vector<std::string> Modes;
28 bool XRayInstrument =
false;
29 int InstructionThreshold = 200;
30 bool XRayAlwaysEmitCustomEvents =
false;
31 bool XRayAlwaysEmitTypedEvents =
false;
33 bool XRayIgnoreLoops =
false;
34 bool XRayFunctionIndex;
35 int XRayFunctionGroups = 1;
36 int XRaySelectedFunctionGroup = 0;
42 llvm::opt::ArgStringList &CmdArgs,
types::ID InputType)
const;
Defines the clang::XRayInstrKind enum.
XRayInstrSet instrumentationBundle() const
void addArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs, types::ID InputType) const
llvm::ArrayRef< std::string > modeList() const