This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Bare bones of virtual call tracking


> Some suggestions for the future:
> 
> 1) add summary info in the odr dump -- i.e. for each node, dump the
> number of direct bases, direct subtypes, number of all bases, all
> subtypes;

OK, can add that.
> 2) add statistics dump -- average size of  a hierarchy subgraph
> 
> 3) Dump the graph using top-order -- starting from roots of each sub-graph;

This is already done - dumping recursively dumps subtypes and we dump only
types without bases.  Problem is that with multiple inheritance types appear twice.

> 4) Add VCG dump per-hierarchy.

Hmm, may be nice - firefox definitely has huge graph.

Currently my type graph is very partial - I have no nodes for types without
virtual methods at all.  This is because types_same_for_odr is not able to give
exact answer (it gives false positives for templates).  Hope to solve it
incrementaly.

I found many bugs at random places, so will push those out first and send
updated patch.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]