aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2025-05-16 17:13:51 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2025-05-20 16:49:22 +0200
commit76d16fbd802a10faabf63945dd34f351aea087dc (patch)
tree5d40322b403a94836c21254365ebd614ca48a9a6 /gcc/coverage.c
parent911cfea5e59798e04479ad475870935ccfae004b (diff)
downloadgcc-76d16fbd802a10faabf63945dd34f351aea087dc.zip
gcc-76d16fbd802a10faabf63945dd34f351aea087dc.tar.gz
gcc-76d16fbd802a10faabf63945dd34f351aea087dc.tar.bz2
ipa: Dump cgraph_node UID instead of order into ipa-clones dump file
Since starting from GCC 15 the order is not unique for any symtab_nodes but m_uid is, I believe we ought to dump the latter in the ipa-clones dump, if only so that people can reliably match entries about new clones to those about removed nodes (if any). This patch also contains a fixes to a few other places where we have so far dumped order to our ordinary dumps and which have been identified by Michal Jires. gcc/ChangeLog: 2025-05-16 Martin Jambor <mjambor@suse.cz> * cgraph.h (symtab_node): Make member function get_uid const. * cgraphclones.cc (dump_callgraph_transformation): Dump m_uid of the call graph nodes instead of order. * cgraph.cc (cgraph_node::remove): Likewise. * ipa-cp.cc (ipcp_lattice<valtype>::print): Likewise. * ipa-sra.cc (ipa_sra_summarize_function): Likewise. * symtab.cc (symtab_node::dump_base): Likewise. Co-Authored-By: Michal Jires <mjires@suse.cz> (cherry picked from commit 9fa534f0831892393885e64596a0d6ca8c4078b6)
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions