File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
compiler/rustc_codegen_llvm/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -282,6 +282,12 @@ impl CodegenBackend for LlvmCodegenBackend {
282
282
rustc_codegen_ssa:: back:: write:: dump_incremental_data ( & codegen_results) ;
283
283
}
284
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
+
285
291
Ok ( ( codegen_results, work_products) )
286
292
}
287
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" ) ;
313
- }
314
- } ) ;
315
-
316
316
Ok ( ( ) )
317
317
}
318
318
}
You can’t perform that action at this time.
0 commit comments