clang API Documentation
#include <ToolChains.h>


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 | |
| Tool * | buildAssembler () const override |
| Tool * | buildLinker () const override |
Definition at line 795 of file ToolChains.h.
| clang::driver::toolchains::XCore::XCore | ( | const Driver & | D, |
| const llvm::Triple & | Triple, | ||
| const llvm::opt::ArgList & | Args | ||
| ) |
| 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.
| bool clang::driver::toolchains::XCore::hasBlocksRuntime | ( | ) | const [override, virtual] |
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.
| bool clang::driver::toolchains::XCore::isPICDefault | ( | ) | const [override, virtual] |
Test whether this toolchain defaults to PIC.
Implements clang::driver::ToolChain.
| bool clang::driver::toolchains::XCore::isPICDefaultForced | ( | ) | const [override, virtual] |
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.
| bool clang::driver::toolchains::XCore::isPIEDefault | ( | ) | const [override, virtual] |
Test whether this toolchain defaults to PIE.
Implements clang::driver::ToolChain.
| bool clang::driver::toolchains::XCore::SupportsProfiling | ( | ) | const [override, virtual] |
SupportsProfiling - Does this tool chain support -pg.
Reimplemented from clang::driver::ToolChain.