Add finish_ongoing_codegen timer in join_codegen to match cg_llvm

This commit is contained in:
bjorn3 2024-11-08 16:14:02 +01:00
parent b5966e4e88
commit c637a84ad4

View File

@ -241,6 +241,8 @@ fn join_codegen(
sess: &Session,
outputs: &OutputFilenames,
) -> (CodegenResults, FxIndexMap<WorkProductId, WorkProduct>) {
let _timer = sess.timer("finish_ongoing_codegen");
ongoing_codegen.downcast::<driver::aot::OngoingCodegen>().unwrap().join(
sess,
outputs,