Skip to content

Commit c637a84

Browse files
committed
Add finish_ongoing_codegen timer in join_codegen to match cg_llvm
1 parent b5966e4 commit c637a84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ impl CodegenBackend for CraneliftCodegenBackend {
241241
sess: &Session,
242242
outputs: &OutputFilenames,
243243
) -> (CodegenResults, FxIndexMap<WorkProductId, WorkProduct>) {
244+
let _timer = sess.timer("finish_ongoing_codegen");
245+
244246
ongoing_codegen.downcast::<driver::aot::OngoingCodegen>().unwrap().join(
245247
sess,
246248
outputs,

0 commit comments

Comments
 (0)