9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_FUCHSIA_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_FUCHSIA_H
24 :
Tool(
"fuchsia::StaticLibTool",
"llvm-ar", TC) {}
31 const llvm::opt::ArgList &TCArgs,
32 const char *LinkingOutput)
const override;
35class LLVM_LIBRARY_VISIBILITY
Linker final :
public Tool {
44 const llvm::opt::ArgList &TCArgs,
45 const char *LinkingOutput)
const override;
55 const llvm::opt::ArgList &Args);
60 return ToolChain::RLT_CompilerRT;
63 return ToolChain::CST_Libcxx;
67 return UnwindTableLevel::Asynchronous;
75 return llvm::DebuggerKind::GDB;
80 return LangOptions::SSPStrong;
83 std::string ComputeEffectiveClangTriple(
const llvm::opt::ArgList &Args,
90 GetRuntimeLibType(
const llvm::opt::ArgList &Args)
const override;
91 CXXStdlibType GetCXXStdlibType(
const llvm::opt::ArgList &Args)
const override;
94 const llvm::opt::ArgList &Args)
const override {
99 addClangTargetOptions(
const llvm::opt::ArgList &DriverArgs,
100 llvm::opt::ArgStringList &CC1Args,
103 AddClangSystemIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
104 llvm::opt::ArgStringList &CC1Args)
const override;
105 void AddClangCXXStdlibIncludeArgs(
106 const llvm::opt::ArgList &DriverArgs,
107 llvm::opt::ArgStringList &CC1Args)
const override;
108 void AddCXXStdlibLibArgs(
const llvm::opt::ArgList &Args,
109 llvm::opt::ArgStringList &CmdArgs)
const override;
114 Tool *buildLinker()
const override;
115 Tool *buildStaticLibTool()
const override;
Defines the clang::LangOptions interface.
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.