LLVM 23.0.0git
llvm::lto::DistributionDriver Class Reference

#include "llvm/DTLTO/DTLTO.h"

Public Member Functions

LLVM_ABI DistributionDriver (DTLTO::DistributionDriverParams &ParamsArg, ArrayRef< DTLTO::Job > JobsArg, bool SaveTempsArg, std::function< void(StringRef)> AddToClenupArg)
Error operator() ()
 Invokes the distributor to compile bitcode modules remotely.

Detailed Description

Definition at line 369 of file DTLTO.h.

Constructor & Destructor Documentation

◆ DistributionDriver()

LLVM_ABI llvm::lto::DistributionDriver::DistributionDriver ( DTLTO::DistributionDriverParams & ParamsArg,
ArrayRef< DTLTO::Job > JobsArg,
bool SaveTempsArg,
std::function< void(StringRef)> AddToClenupArg )
inline

Definition at line 372 of file DTLTO.h.

Member Function Documentation

◆ operator()()

Error lto::DistributionDriver::operator() ( )

Invokes the distributor to compile bitcode modules remotely.

Runs the distributor with the JSON manifest path; the distributor spawns remote compiler processes.

Returns
Error::success() on success, or an Error if the distributor fails.

Definition at line 125 of file DTLTODistributionDriver.cpp.

References llvm::append_range(), llvm::sys::ExecuteAndWait(), llvm::inconvertibleErrorCode(), llvm::make_error(), and llvm::Error::success().


The documentation for this class was generated from the following files: