clang API Documentation
#include <Tools.h>
Public Member Functions | |
Link (const ToolChain &TC) | |
bool | hasIntegratedCPP () const override |
bool | isLinkJob () const override |
void | ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override |
clang::driver::tools::freebsd::Link::Link | ( | const ToolChain & | TC | ) | [inline] |
void freebsd::Link::ConstructJob | ( | Compilation & | C, |
const JobAction & | JA, | ||
const InputInfo & | Output, | ||
const InputInfoList & | Inputs, | ||
const llvm::opt::ArgList & | TCArgs, | ||
const char * | LinkingOutput | ||
) | const [override, virtual] |
ConstructJob - Construct jobs to perform the action JA
, writing to Output
and with Inputs
, and add the jobs to C
.
TCArgs | - The argument list for this toolchain, with any tool chain specific translations applied. |
LinkingOutput | - If this output will eventually feed the linker, then this is the final output name of the linked image. |
Implements clang::driver::Tool.
Definition at line 6556 of file Tools.cpp.
References clang::driver::Compilation::addCommand(), clang::driver::ToolChain::AddCXXStdlibLibArgs(), AddGoldPlugin(), AddLinkerInputs(), addProfileRT(), addSanitizerRuntimes(), clang::driver::Driver::CCCIsCXX(), clang::driver::ToolChain::getArch(), clang::driver::ToolChain::getDriver(), clang::driver::InputInfo::getFilename(), clang::driver::ToolChain::GetFilePath(), clang::driver::ToolChain::getFilePaths(), clang::driver::ToolChain::getTriple(), clang::driver::InputInfo::isFilename(), clang::driver::InputInfo::isNothing(), clang::driver::toolchains::FreeBSD::isPIEDefault(), clang::driver::Driver::IsUsingLTO(), linkSanitizerRuntimeDeps(), and clang::driver::Driver::SysRoot.
bool clang::driver::tools::freebsd::Link::hasIntegratedCPP | ( | ) | const [inline, override, virtual] |
Implements clang::driver::Tool.
bool clang::driver::tools::freebsd::Link::isLinkJob | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::driver::Tool.