From: Richard Biener Date: Thu, 20 Mar 2025 18:48:36 +0000 (+0100) Subject: Put early debug generation under TV_SYMOUT X-Git-Tag: basepoints/gcc-16~1073 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de725a153f8968713d0edbd43ebcc4168ebabc62;p=thirdparty%2Fgcc.git Put early debug generation under TV_SYMOUT Like all other debug info generation this should be with TV_SYMOUT, otherwise it's recorded as TV_CGRAPH. * cgraphunit.cc (symbol_table::finalize_compilation_unit): Put early debug generation under TV_SYMOUT. --- diff --git a/gcc/cgraphunit.cc b/gcc/cgraphunit.cc index 82f205488e9..fa54a59d02b 100644 --- a/gcc/cgraphunit.cc +++ b/gcc/cgraphunit.cc @@ -2588,6 +2588,8 @@ symbol_table::finalize_compilation_unit (void) if (!seen_error ()) { + timevar_push (TV_SYMOUT); + /* Give the frontends the chance to emit early debug based on what is still reachable in the TU. */ (*lang_hooks.finalize_early_debug) (); @@ -2597,6 +2599,8 @@ symbol_table::finalize_compilation_unit (void) debuginfo_early_start (); (*debug_hooks->early_finish) (main_input_filename); debuginfo_early_stop (); + + timevar_pop (TV_SYMOUT); } /* Finally drive the pass manager. */