Callable defining ThinLTO backend behavior after the thin‐link phase.

Synopsis

Declared in <llvm/LTO/LTO.h>

using ThinBackendFunction = std::function<std::unique_ptr<ThinBackendProc>(Config const&, ModuleSummaryIndex&, DenseMap<StringRef, GVSummaryMapTy> const&, AddStreamFn, FileCache, ArrayRef<StringRef>)>;

Description

It accepts a configuration C, a combined module summary index CombinedIndex, a map of module identifiers to global variable summaries ModuleToDefinedGVSummaries, a function to add output streams AddStream, and a file cache Cache. It returns a unique pointer to a ThinBackendProc, which can be used to launch backends in parallel.

Created with MrDocs