rustc_codegen_llvm::back::write

Function embed_bitcode

Source
unsafe fn embed_bitcode(
    cgcx: &CodegenContext<LlvmCodegenBackend>,
    llcx: &Context,
    llmod: &Module,
    cmdline: &str,
    bitcode: &[u8],
)
Expand description

Embed the bitcode of an LLVM module for LTO in the LLVM module itself.