class Hurd

Declaration

class Hurd : 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/Hurd.h:19

Inherits from: Generic_ELF

Member Variables

public std::vector<std::string> ExtraOpts

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 bool HasNativeLLVMSupport() const
  • public Hurd(const clang::driver::Driver & D, const llvm::Triple & Triple, const llvm::opt::ArgList & Args)
  • public void addExtraOpts(llvm::opt::ArgStringList & CmdArgs) const
  • public void addLibStdCxxIncludePaths(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
  • protected clang::driver::Tool * buildAssembler() const
  • protected clang::driver::Tool * buildLinker() const
  • public std::string getDynamicLinker(const llvm::opt::ArgList & Args) const
  • protected std::string getMultiarchTriple(const clang::driver::Driver & D, const llvm::Triple & TargetTriple, llvm::StringRef SysRoot) 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/Hurd.h:27

Parameters

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

bool HasNativeLLVMSupport() const

Description

HasNativeLTOLinker - Check whether the linker and related tools have native LLVM support.

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

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

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

Parameters

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

void addExtraOpts(
    llvm::opt::ArgStringList& CmdArgs) const

Declared at: clang/lib/Driver/ToolChains/Hurd.h:35

Parameters

llvm::opt::ArgStringList& CmdArgs

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

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

Parameters

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

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

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

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

Declared at: clang/lib/Driver/ToolChains/Hurd.h:41

std::string getDynamicLinker(
    const llvm::opt::ArgList& Args) const

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

Parameters

const llvm::opt::ArgList& Args

std::string getMultiarchTriple(
    const clang::driver::Driver& D,
    const llvm::Triple& TargetTriple,
    llvm::StringRef SysRoot) const

Declared at: clang/lib/Driver/ToolChains/Hurd.h:43

Parameters

const clang::driver::Driver& D
const llvm::Triple& TargetTriple
llvm::StringRef SysRoot