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]

Re: control flow graphs of functions


Richard Henderson <rth@redhat.com> writes:

> On Fri, Mar 09, 2001 at 05:26:03PM -0500, Fu-hau Hsu wrote:
> > So, for foo() I would like to build a graph as follows :
> >                      
> >                       fd()    
> >                       / \  \
> >                     /     \  \
> >                
> >                  fa()     fb()  fc()  
> >                    \       |     /
> >                      \     |   /
> >                          fe()
> > 
> > Does gcc have any data struct that describe the above info after it
> > compiles a program?
> 
> Nope.

I believe gprof does, though.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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