> Hi, > > I have noticed that whereas all of the dumps in ipa-inline*, ipa-cp.c, > ipa-prop.c and elsewhere dump node UIDs, function dump_cgraph_node, > which is the core of call graph dumping, dumps node->symbol.uid. This > unnecessarily makes it more difficult to see what has happened to a > node in the graph dump or how did a node from an action ended up in > the dump. > > The patch below changes this and dumps symbol.uid everywhere where we > currently dump node.uid for the sake of consistency. There is only > one exception, and that is input_node in lto-cgraph.c where we assign > to the order, so I just made it explicit that we were dumping UIDs. > > Apart from this, the patch also dumps the symbol.order in three places > where we currently only print the name, because I reckon it is useful > ands some extra info about indirect edges in jump function dumping. > > Bootstrapped and tested on x86_64-linux without any problems. OK for > trunk?
OK, thanks Honza