This is the mail archive of the gcc@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] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |