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::dragonfly::Link::Link | ( | const ToolChain & | TC | ) | [inline] |
void dragonfly::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 7685 of file Tools.cpp.
References clang::driver::Compilation::addCommand(), AddLinkerInputs(), addProfileRT(), clang::driver::Driver::CCCIsCXX(), clang::driver::InputInfo::getFilename(), clang::driver::InputInfo::isFilename(), clang::driver::InputInfo::isNothing(), and clang::driver::Driver::SysRoot.
bool clang::driver::tools::dragonfly::Link::hasIntegratedCPP | ( | ) | const [inline, override, virtual] |
Implements clang::driver::Tool.
bool clang::driver::tools::dragonfly::Link::isLinkJob | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::driver::Tool.