class LinkerWrapper

Declaration

class LinkerWrapper : public Tool { /* full declaration omitted */ };

Description

Linker wrapper tool.

Declared at: clang/lib/Driver/ToolChains/Clang.h:187

Inherits from: Tool

Member Variables

private const clang::driver::Tool* Linker

Method Overview

  • public void ConstructJob(clang::driver::Compilation & C, const clang::driver::JobAction & JA, const clang::driver::InputInfo & Output, const clang::driver::InputInfoList & Inputs, const llvm::opt::ArgList & TCArgs, const char * LinkingOutput) const
  • public LinkerWrapper(const clang::driver::ToolChain & TC, const clang::driver::Tool * Linker)
  • public bool hasIntegratedCPP() const

Inherited from Tool:

Methods

void ConstructJob(
    clang::driver::Compilation& C,
    const clang::driver::JobAction& JA,
    const clang::driver::InputInfo& Output,
    const clang::driver::InputInfoList& Inputs,
    const llvm::opt::ArgList& TCArgs,
    const char* LinkingOutput) const

Description

ConstructJob - Construct jobs to perform the action \p JA, writing to \p Output and with \p Inputs, and add the jobs to\p C.

Declared at: clang/lib/Driver/ToolChains/Clang.h:195

Parameters

clang::driver::Compilation& C
const clang::driver::JobAction& JA
const clang::driver::InputInfo& Output
const clang::driver::InputInfoList& Inputs
const llvm::opt::ArgList& TCArgs
- The argument list for this toolchain, with any tool chain specific translations applied.
const char* LinkingOutput
- If this output will eventually feed the linker, then this is the final output name of the linked image.

LinkerWrapper(const clang::driver::ToolChain& TC,
              const clang::driver::Tool* Linker)

Declared at: clang/lib/Driver/ToolChains/Clang.h:191

Parameters

const clang::driver::ToolChain& TC
const clang::driver::Tool* Linker

bool hasIntegratedCPP() const

Declared at: clang/lib/Driver/ToolChains/Clang.h:194