clang API Documentation

Public Member Functions | Public Attributes | Protected Member Functions
clang::driver::toolchains::Linux Class Reference

#include <ToolChains.h>

Inheritance diagram for clang::driver::toolchains::Linux:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::toolchains::Linux:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Linux (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
bool HasNativeLLVMSupport () const override
void AddClangSystemIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
 Add the clang cc1 arguments for system include paths.
void AddClangCXXStdlibIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
bool isPIEDefault () const override
 Test whether this toolchain defaults to PIE.

Public Attributes

std::string Linker
std::vector< std::string > ExtraOpts

Protected Member Functions

ToolbuildAssembler () const override
ToolbuildLinker () const override

Detailed Description

Definition at line 657 of file ToolChains.h.


Constructor & Destructor Documentation

Linux::Linux ( const Driver D,
const llvm::Triple &  Triple,
const llvm::opt::ArgList &  Args 
)

Member Function Documentation

void Linux::AddClangCXXStdlibIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]
void Linux::AddClangSystemIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]
Tool * Linux::buildAssembler ( ) const [override, protected, virtual]

Reimplemented from clang::driver::toolchains::Generic_GCC.

Reimplemented in clang::driver::toolchains::Hexagon_TC.

Definition at line 3096 of file ToolChains.cpp.

Tool * Linux::buildLinker ( ) const [override, protected, virtual]

Reimplemented from clang::driver::toolchains::Generic_GCC.

Reimplemented in clang::driver::toolchains::Hexagon_TC.

Definition at line 3092 of file ToolChains.cpp.

bool Linux::HasNativeLLVMSupport ( ) const [override, virtual]

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

Reimplemented from clang::driver::ToolChain.

Definition at line 3088 of file ToolChains.cpp.

bool Linux::isPIEDefault ( ) const [override, virtual]

Member Data Documentation

Definition at line 672 of file ToolChains.h.

Referenced by clang::driver::tools::gnutools::Link::ConstructJob(), and Linux().


The documentation for this class was generated from the following files: