9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LINUX_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LINUX_H
22 const llvm::opt::ArgList &Args);
24 bool HasNativeLLVMSupport()
const override;
26 std::string getMultiarchTriple(
const Driver &
D,
27 const llvm::Triple &TargetTriple,
28 StringRef SysRoot)
const override;
31 AddClangSystemIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
32 llvm::opt::ArgStringList &CC1Args)
const override;
33 void addLibStdCxxIncludePaths(
34 const llvm::opt::ArgList &DriverArgs,
35 llvm::opt::ArgStringList &CC1Args)
const override;
36 void AddCudaIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
37 llvm::opt::ArgStringList &CC1Args)
const override;
38 void AddHIPIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
39 llvm::opt::ArgStringList &CC1Args)
const override;
40 void AddHIPRuntimeLibArgs(
const llvm::opt::ArgList &Args,
41 llvm::opt::ArgStringList &CmdArgs)
const override;
42 void AddIAMCUIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
43 llvm::opt::ArgStringList &CC1Args)
const override;
45 unsigned GetDefaultDwarfVersion()
const override;
48 IsAArch64OutlineAtomicsDefault(
const llvm::opt::ArgList &Args)
const override;
49 bool isPIEDefault(
const llvm::opt::ArgList &Args)
const override;
50 bool IsMathErrnoDefault()
const override;
52 void addProfileRTLibs(
const llvm::opt::ArgList &Args,
53 llvm::opt::ArgStringList &CmdArgs)
const override;
54 std::string computeSysRoot()
const override;
56 std::string getDynamicLinker(
const llvm::opt::ArgList &Args)
const override;
58 void addExtraOpts(llvm::opt::ArgStringList &CmdArgs)
const override;
62 const char *getDefaultLinker()
const override;
65 Tool *buildAssembler()
const override;
66 Tool *buildLinker()
const override;
67 Tool *buildStaticLibTool()
const override;
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
The JSON file list parser is used to communicate input to InstallAPI.