class CSKYToolChain

Declaration

class CSKYToolChain : public Generic_ELF { /* full declaration omitted */ };

Description

Generic_GCC - A tool chain using the 'gcc' command to perform all subcommands; this relies on gcc translating the majority of command line options.

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:19

Inherits from: Generic_ELF

Member Variables

Inherited from Generic_GCC:

protected GCCInstallation
protected CudaInstallation
protected RocmInstallation

Inherited from ToolChain:

protected Multilibs
protected SelectedMultilib

Method Overview

  • public void AddClangSystemIncludeArgs(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
  • public CSKYToolChain(const clang::driver::Driver & D, const llvm::Triple & Triple, const llvm::opt::ArgList & Args)
  • public clang::driver::ToolChain::RuntimeLibType GetDefaultRuntimeLibType() const
  • public clang::driver::ToolChain::UnwindLibType GetUnwindLibType(const llvm::opt::ArgList & Args) const
  • public void addClangTargetOptions(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args, Action::OffloadKind) const
  • public void addLibStdCxxIncludePaths(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
  • protected clang::driver::Tool * buildLinker() const
  • private std::string computeSysRoot() const

Inherited from Generic_ELF:

Inherited from Generic_GCC:

Inherited from ToolChain:

Methods

void AddClangSystemIncludeArgs(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args) const

Description

Add the clang cc1 arguments for system include paths. This routine is responsible for adding the necessary cc1 arguments to include headers from standard system header directories.

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:30

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

CSKYToolChain(const clang::driver::Driver& D,
              const llvm::Triple& Triple,
              const llvm::opt::ArgList& Args)

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:21

Parameters

const clang::driver::Driver& D
const llvm::Triple& Triple
const llvm::opt::ArgList& Args

clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() const

Description

GetDefaultRuntimeLibType - Get the default runtime library variant to use.

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:27

clang::driver::ToolChain::UnwindLibType
GetUnwindLibType(
    const llvm::opt::ArgList& Args) const

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:28

Parameters

const llvm::opt::ArgList& Args

void addClangTargetOptions(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args,
    Action::OffloadKind) const

Description

Add options that need to be passed to cc1 for this target.

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:24

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args
Action::OffloadKind

void addLibStdCxxIncludePaths(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args) const

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:33

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

clang::driver::Tool* buildLinker() const

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:37

std::string computeSysRoot() const

Description

Return the sysroot, possibly searching for a default sysroot using target-specific logic.

Declared at: clang/lib/Driver/ToolChains/CSKYToolChain.h:40