This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Callgraph in gcc
- From: Virender Kashyap <virenk at cse dot iitb dot ac dot in>
- To: GCC HELP <gcc-help at gcc dot gnu dot org>
- Date: Mon, 22 Nov 2004 18:49:54 +0530 (IST)
- Subject: Callgraph in gcc
HI,
I had doubt whether in "unit-at-time mode" call graph is built
incrementally or is it built
only after all the funcitons have been parsed (i.e. after
cgraph_finalize_compilation unit functions is called). In the latter case,
where are all the function trees stored then ? I
presume that cgraph nodes are allotted to respective functions (and trees
stored there) and
only call and return edges are fixed after all funcitons are ready with
their trees.
Could someone please clarify on this?
Thanks and Regards.
Virender