class OffloadBundler

Declaration

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

Description

Offload bundler tool.

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

Inherits from: Tool

Member Variables

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 void ConstructJobMultipleOutputs(clang::driver::Compilation & C, const clang::driver::JobAction & JA, const clang::driver::InputInfoList & Outputs, const clang::driver::InputInfoList & Inputs, const llvm::opt::ArgList & TCArgs, const char * LinkingOutput) const
  • public OffloadBundler(const clang::driver::ToolChain & TC)
  • 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:149

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.

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

Description

Construct jobs to perform the action \p JA, writing to the \p Outputs and with \p Inputs, and add the jobs to \p C. The default implementation assumes a single output and is expected to be overloaded for the tools that support multiple inputs.

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

Parameters

clang::driver::Compilation& C
const clang::driver::JobAction& JA
const clang::driver::InputInfoList& Outputs
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.

OffloadBundler(const clang::driver::ToolChain& TC)

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

Parameters

const clang::driver::ToolChain& TC

bool hasIntegratedCPP() const

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