@@ -566,7 +566,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
566
566
cgu_name_builder. build_cgu_name ( LOCAL_CRATE , & [ "crate" ] , Some ( "allocator" ) ) . to_string ( ) ;
567
567
let mut modules = backend. new_metadata ( tcx, & llmod_id) ;
568
568
tcx. sess
569
- . time ( "write allocator module " , || backend. codegen_allocator ( tcx, & mut modules, kind) ) ;
569
+ . time ( "write_allocator_module " , || backend. codegen_allocator ( tcx, & mut modules, kind) ) ;
570
570
571
571
Some ( ModuleCodegen { name : llmod_id, module_llvm : modules, kind : ModuleKind :: Allocator } )
572
572
} else {
@@ -582,7 +582,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
582
582
let metadata_cgu_name =
583
583
cgu_name_builder. build_cgu_name ( LOCAL_CRATE , & [ "crate" ] , Some ( "metadata" ) ) . to_string ( ) ;
584
584
let mut metadata_llvm_module = backend. new_metadata ( tcx, & metadata_cgu_name) ;
585
- tcx. sess . time ( "write compressed metadata " , || {
585
+ tcx. sess . time ( "write_compressed_metadata " , || {
586
586
backend. write_compressed_metadata (
587
587
tcx,
588
588
& ongoing_codegen. metadata ,
@@ -652,7 +652,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
652
652
653
653
// Since the main thread is sometimes blocked during codegen, we keep track
654
654
// -Ztime-passes output manually.
655
- print_time_passes_entry ( tcx. sess . time_passes ( ) , "codegen to LLVM IR " , total_codegen_time) ;
655
+ print_time_passes_entry ( tcx. sess . time_passes ( ) , "codegen_to_LLVM_IR " , total_codegen_time) ;
656
656
657
657
:: rustc_incremental:: assert_module_sources:: assert_module_sources ( tcx) ;
658
658
@@ -712,9 +712,9 @@ impl<B: ExtraBackendMethods> Drop for AbortCodegenOnDrop<B> {
712
712
}
713
713
714
714
fn assert_and_save_dep_graph ( tcx : TyCtxt < ' _ > ) {
715
- tcx. sess . time ( "assert dep graph " , || :: rustc_incremental:: assert_dep_graph ( tcx) ) ;
715
+ tcx. sess . time ( "assert_dep_graph " , || :: rustc_incremental:: assert_dep_graph ( tcx) ) ;
716
716
717
- tcx. sess . time ( "serialize dep graph " , || :: rustc_incremental:: save_dep_graph ( tcx) ) ;
717
+ tcx. sess . time ( "serialize_dep_graph " , || :: rustc_incremental:: save_dep_graph ( tcx) ) ;
718
718
}
719
719
720
720
impl CrateInfo {
0 commit comments