@@ -566,7 +566,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
566566 cgu_name_builder. build_cgu_name ( LOCAL_CRATE , & [ "crate" ] , Some ( "allocator" ) ) . to_string ( ) ;
567567 let mut modules = backend. new_metadata ( tcx, & llmod_id) ;
568568 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) ) ;
570570
571571 Some ( ModuleCodegen { name : llmod_id, module_llvm : modules, kind : ModuleKind :: Allocator } )
572572 } else {
@@ -582,7 +582,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
582582 let metadata_cgu_name =
583583 cgu_name_builder. build_cgu_name ( LOCAL_CRATE , & [ "crate" ] , Some ( "metadata" ) ) . to_string ( ) ;
584584 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 " , || {
586586 backend. write_compressed_metadata (
587587 tcx,
588588 & ongoing_codegen. metadata ,
@@ -652,7 +652,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
652652
653653 // Since the main thread is sometimes blocked during codegen, we keep track
654654 // -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) ;
656656
657657 :: rustc_incremental:: assert_module_sources:: assert_module_sources ( tcx) ;
658658
@@ -712,9 +712,9 @@ impl<B: ExtraBackendMethods> Drop for AbortCodegenOnDrop<B> {
712712}
713713
714714fn 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) ) ;
716716
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) ) ;
718718}
719719
720720impl CrateInfo {
0 commit comments