9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_OHOS_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_OHOS_H
23 const llvm::opt::ArgList &Args);
30 return ToolChain::RLT_CompilerRT;
33 return ToolChain::CST_Libcxx;
37 bool isPIEDefault(
const llvm::opt::ArgList &Args)
const override {
return true; }
39 UnwindLibType GetUnwindLibType(
const llvm::opt::ArgList &Args)
const override;
43 GetRuntimeLibType(
const llvm::opt::ArgList &Args)
const override;
45 GetCXXStdlibType(
const llvm::opt::ArgList &Args)
const override;
48 AddClangSystemIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
49 llvm::opt::ArgStringList &CC1Args)
const override;
51 AddClangCXXStdlibIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
52 llvm::opt::ArgStringList &CC1Args)
const override;
53 void AddCXXStdlibLibArgs(
const llvm::opt::ArgList &Args,
54 llvm::opt::ArgStringList &CmdArgs)
const override;
56 std::string computeSysRoot()
const override;
57 std::string getDynamicLinker(
const llvm::opt::ArgList &Args)
const override;
60 getCompilerRT(
const llvm::opt::ArgList &Args, StringRef Component,
74 path_list getRuntimePaths()
const;
77 std::string getMultiarchTriple(
const llvm::Triple &T)
const;
78 std::string getMultiarchTriple(
const Driver &
D,
79 const llvm::Triple &TargetTriple,
80 StringRef SysRoot)
const override;
81 void addExtraOpts(llvm::opt::ArgStringList &CmdArgs)
const override;
83 void addProfileRTLibs(
const llvm::opt::ArgList &Args,
84 llvm::opt::ArgStringList &CmdArgs)
const override;
85 path_list getArchSpecificLibPaths()
const override;
llvm::MachO::FileType FileType
The base class of the type hierarchy.
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
This corresponds to a single GCC Multilib, or a segment of one controlled by a command line flag.
The JSON file list parser is used to communicate input to InstallAPI.