Existing tree functionality?
Daniel Berlin
dberlin@dberlin.org
Wed Jul 6 13:06:00 GMT 2005
On Wed, 2005-07-06 at 08:46 -0400, Daniel Berlin wrote:
> Most of this can be found in the cgraph nodes. The rest requires
> scanning the IL.
> Ken Zadeck should have code to do this.
>
Oh, i assumed you were trying to work at an interprocedural level.
If you only ever care to see a single function at a time, you can just
look at the referenced_vars list.
>
> On Wed, 2005-07-06 at 08:32 -0400, Michael Tegtmeyer wrote:
> > Hello,
> >
> > Is there existing functionality somewhere to sweep a function and collect
> > all externally visible variables at the tree level or do I need to roll my
> > own? I've looked in tree.h and grepped around as much as I could but I
> > haven't found anything obvious.
> >
> > Thanks in advance,
> > Mike Tegtmeyer
>
More information about the Gcc
mailing list