diff options
author | Richard Biener <rguenther@suse.de> | 2025-03-20 19:48:36 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-03-21 08:54:44 +0100 |
commit | de725a153f8968713d0edbd43ebcc4168ebabc62 (patch) | |
tree | 83554707ced96adefa5e9c930069d1482a9e2cbf /gcc | |
parent | 3e3af042e6cfdde1d494f0e4e10273396b86c04a (diff) | |
download | gcc-de725a153f8968713d0edbd43ebcc4168ebabc62.zip gcc-de725a153f8968713d0edbd43ebcc4168ebabc62.tar.gz gcc-de725a153f8968713d0edbd43ebcc4168ebabc62.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cgraphunit.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cgraphunit.cc b/gcc/cgraphunit.cc index 82f2054..fa54a59 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. */ |