003 File Manager
Current Path:
/usr/src/contrib/llvm-project/clang/include/clang/Driver
usr
/
src
/
contrib
/
llvm-project
/
clang
/
include
/
clang
/
Driver
/
📁
..
📄
Action.h
(19.4 KB)
📄
ClangOptionDocs.td
(1.13 KB)
📄
Compilation.h
(10.69 KB)
📄
DarwinSDKInfo.h
(1.37 KB)
📄
Distro.h
(3.21 KB)
📄
Driver.h
(23.44 KB)
📄
DriverDiagnostic.h
(511 B)
📄
Job.h
(10.73 KB)
📄
Multilib.h
(6.52 KB)
📄
OptionUtils.h
(2.1 KB)
📄
Options.h
(1.29 KB)
📄
Options.td
(295.17 KB)
📄
Phases.h
(926 B)
📄
SanitizerArgs.h
(3.52 KB)
📄
Tool.h
(3.35 KB)
📄
ToolChain.h
(25.5 KB)
📄
Types.def
(9.11 KB)
📄
Types.h
(3.93 KB)
📄
Util.h
(896 B)
📄
XRayArgs.h
(1.66 KB)
Editing: XRayArgs.h
//===--- XRayArgs.h - Arguments for XRay ------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_DRIVER_XRAYARGS_H #define LLVM_CLANG_DRIVER_XRAYARGS_H #include "clang/Basic/XRayInstr.h" #include "clang/Driver/Types.h" #include "llvm/Option/Arg.h" #include "llvm/Option/ArgList.h" namespace clang { namespace driver { class ToolChain; class XRayArgs { std::vector<std::string> AlwaysInstrumentFiles; std::vector<std::string> NeverInstrumentFiles; std::vector<std::string> AttrListFiles; std::vector<std::string> ExtraDeps; std::vector<std::string> Modes; XRayInstrSet InstrumentationBundle; bool XRayInstrument = false; int InstructionThreshold = 200; bool XRayAlwaysEmitCustomEvents = false; bool XRayAlwaysEmitTypedEvents = false; bool XRayRT = true; bool XRayIgnoreLoops = false; bool XRayFunctionIndex; public: /// Parses the XRay arguments from an argument list. XRayArgs(const ToolChain &TC, const llvm::opt::ArgList &Args); void addArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs, types::ID InputType) const; bool needsXRayRt() const { return XRayInstrument && XRayRT; } llvm::ArrayRef<std::string> modeList() const { return Modes; } XRayInstrSet instrumentationBundle() const { return InstrumentationBundle; } }; } // namespace driver } // namespace clang #endif // LLVM_CLANG_DRIVER_XRAYARGS_H
Upload File
Create Folder