https://gcc.gnu.org/g:de725a153f8968713d0edbd43ebcc4168ebabc62
commit r15-8480-gde725a153f8968713d0edbd43ebcc4168ebabc62 Author: Richard Biener <rguent...@suse.de> Date: Thu Mar 20 19:48:36 2025 +0100 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: --- gcc/cgraphunit.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/cgraphunit.cc b/gcc/cgraphunit.cc index 82f205488e90..fa54a59d02b8 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. */