about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/lib.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-11-09 13:48:06 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-11-09 13:48:06 +0000
commitc94f759f10cbd7c535b6ffd7d74bc868d14b1a9a (patch)
treeaccc7f72d6d3006256b231444e07d91edc218539 /compiler/rustc_codegen_cranelift/src/lib.rs
parent4b198d6871e4a3826f01f7d6111b1c3484853cd8 (diff)
parent1fa693ca4462fc1f790693464cf765ad693616af (diff)
downloadrust-c94f759f10cbd7c535b6ffd7d74bc868d14b1a9a.tar.gz
rust-c94f759f10cbd7c535b6ffd7d74bc868d14b1a9a.zip
Merge commit '1fa693ca4462fc1f790693464cf765ad693616af' into sync_cg_clif-2024-11-09
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/lib.rs b/compiler/rustc_codegen_cranelift/src/lib.rs
index aba0c28f6b8..19a1de53d1d 100644
--- a/compiler/rustc_codegen_cranelift/src/lib.rs
+++ b/compiler/rustc_codegen_cranelift/src/lib.rs
@@ -241,6 +241,8 @@ impl CodegenBackend for CraneliftCodegenBackend {
         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,