optimize_and_codegen_thin_module in rustc_codegen_llvm::back::lto - Rust
Description: API documentation for the Rust `optimize_and_codegen_thin_module` fn in crate `rustc_codegen_llvm`.

Skip to main content

## optimize_and_codegen_thin_module

# Function optimize_and_codegen_thin_module

Source

    pub(crate) fn optimize_and_codegen_thin_module(
        cgcx: &CodegenContext,
        prof: &SelfProfilerRef,
        shared_emitter: &SharedEmitter,
        tm_factory: TargetMachineFactoryFn<LlvmCodegenBackend>,
        thin_module: ThinModule<LlvmCodegenBackend>,
    ) -> CompiledModule