rustc_codegen_llvm::back::write

Function write_output_file

Source
fn write_output_file<'ll>(
    dcx: DiagCtxtHandle<'_>,
    target: &'ll TargetMachine,
    pm: &PassManager<'ll>,
    m: &'ll Module,
    output: &Path,
    dwo_output: Option<&Path>,
    file_type: FileType,
    self_profiler_ref: &SelfProfilerRef,
) -> Result<(), FatalError>