clang API Documentation

Public Member Functions | Protected Member Functions
clang::driver::toolchains::XCore Class Reference

#include <ToolChains.h>

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

List of all members.

Public Member Functions

 XCore (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
bool isPICDefault () const override
 Test whether this toolchain defaults to PIC.
bool isPIEDefault () const override
 Test whether this toolchain defaults to PIE.
bool isPICDefaultForced () const override
 Tests whether this toolchain forces its default for PIC, PIE or non-PIC. If this returns true, any PIC related flags should be ignored and instead the results of isPICDefault() and isPIEDefault() are used exclusively.
bool SupportsProfiling () const override
 SupportsProfiling - Does this tool chain support -pg.
bool hasBlocksRuntime () 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 addClangTargetOptions (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
 Add options that need to be passed to cc1 for this target.
void AddClangCXXStdlibIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
void AddCXXStdlibLibArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override

Protected Member Functions

ToolbuildAssembler () const override
ToolbuildLinker () const override

Detailed Description

Definition at line 795 of file ToolChains.h.


Constructor & Destructor Documentation

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

Member Function Documentation

void clang::driver::toolchains::XCore::AddClangCXXStdlibIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]

AddClangCXXStdlibIncludeArgs - Add the clang -cc1 level arguments to set the include paths to use for the given C++ standard library type.

Reimplemented from clang::driver::ToolChain.

void clang::driver::toolchains::XCore::AddClangSystemIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]

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.

Reimplemented from clang::driver::ToolChain.

void clang::driver::toolchains::XCore::addClangTargetOptions ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]

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

Reimplemented from clang::driver::ToolChain.

void clang::driver::toolchains::XCore::AddCXXStdlibLibArgs ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const [override, virtual]

AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.

Reimplemented from clang::driver::ToolChain.

Tool* clang::driver::toolchains::XCore::buildAssembler ( ) const [override, protected, virtual]

Reimplemented from clang::driver::ToolChain.

Tool* clang::driver::toolchains::XCore::buildLinker ( ) const [override, protected, virtual]

Reimplemented from clang::driver::ToolChain.

hasBlocksRuntime - Given that the user is compiling with -fblocks, does this tool chain guarantee the existence of a blocks runtime?

FIXME: this really belongs on some sort of DeploymentTarget abstraction

Reimplemented from clang::driver::ToolChain.

Test whether this toolchain defaults to PIC.

Implements clang::driver::ToolChain.

Tests whether this toolchain forces its default for PIC, PIE or non-PIC. If this returns true, any PIC related flags should be ignored and instead the results of isPICDefault() and isPIEDefault() are used exclusively.

Implements clang::driver::ToolChain.

Test whether this toolchain defaults to PIE.

Implements clang::driver::ToolChain.

SupportsProfiling - Does this tool chain support -pg.

Reimplemented from clang::driver::ToolChain.


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