We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f26b7 commit 12a2941Copy full SHA for 12a2941
compiler/rustc_codegen_llvm/src/lib.rs
@@ -282,6 +282,12 @@ impl CodegenBackend for LlvmCodegenBackend {
282
rustc_codegen_ssa::back::write::dump_incremental_data(&codegen_results);
283
}
284
285
+ sess.time("llvm_dump_timing_file", || {
286
+ if sess.opts.debugging_opts.llvm_time_trace {
287
+ llvm_util::time_trace_profiler_finish("llvm_timings.json");
288
+ }
289
+ });
290
+
291
Ok((codegen_results, work_products))
292
293
@@ -307,12 +313,6 @@ impl CodegenBackend for LlvmCodegenBackend {
307
313
);
308
314
});
309
315
310
- sess.time("llvm_dump_timing_file", || {
311
- if sess.opts.debugging_opts.llvm_time_trace {
312
- llvm_util::time_trace_profiler_finish("llvm_timings.json");
- }
- });
-
316
Ok(())
317
318
0 commit comments