ΒΆvoid WriteThinLinkBitcodeToFile(
    const llvm::Module& M,
    llvm::raw_ostream& Out,
    const llvm::ModuleSummaryIndex& Index,
    const llvm::ModuleHash& ModHash)

Description

Write the specified thin link bitcode file (i.e., the minimized bitcode file) to the given raw output stream, where it will be written in a new bitcode block. The thin link bitcode file is used for thin link, and it only contains the necessary information for thin link. ModHash is for use in ThinLTO incremental build, generated while the IR bitcode file writing.

Declared at: llvm/include/llvm/Bitcode/BitcodeWriter.h:142

Parameters

const llvm::Module& M
llvm::raw_ostream& Out
const llvm::ModuleSummaryIndex& Index
const llvm::ModuleHash& ModHash