9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_RISCVTOOLCHAIN_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_RISCVTOOLCHAIN_H
22 const llvm::opt::ArgList &Args);
24 static bool hasGCCToolchain(
const Driver &
D,
const llvm::opt::ArgList &Args);
25 void addClangTargetOptions(
const llvm::opt::ArgList &DriverArgs,
26 llvm::opt::ArgStringList &CC1Args,
30 GetUnwindLibType(
const llvm::opt::ArgList &Args)
const override;
32 getDefaultUnwindTableLevel(
const llvm::opt::ArgList &Args)
const override;
34 AddClangSystemIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
35 llvm::opt::ArgStringList &CC1Args)
const override;
37 addLibStdCxxIncludePaths(
const llvm::opt::ArgList &DriverArgs,
38 llvm::opt::ArgStringList &CC1Args)
const override;
41 Tool *buildLinker()
const override;
44 std::string computeSysRoot()
const override;
51class LLVM_LIBRARY_VISIBILITY
Linker final :
public Tool {
58 const llvm::opt::ArgList &TCArgs,
59 const char *LinkingOutput)
const override;
Compilation - A set of tasks to perform for a single driver invocation.
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.