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 llvm::opt::Arg *XRayInstrument =
nullptr;
30 bool XRayShared =
false;
36 llvm::opt::ArgStringList &CmdArgs,
types::ID InputType)
const;
39 bool needsXRayDSORt()
const {
return XRayInstrument && XRayRT && XRayShared; }
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
bool needsXRayDSORt() const
llvm::ArrayRef< std::string > modeList() const
The JSON file list parser is used to communicate input to InstallAPI.