This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Accessing function code from CFG
- From: "Paulo J. Matos" <pocm at soton dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 2 Mar 2007 15:12:48 +0000
- Subject: Accessing function code from CFG
Hi all,
In an IPA pass, for each CFG node, I have a tree decl member from
which I can access the return type, name of the function, argument
names and its types, but I can't seem to find a way to get the
function code. I would guess it would be a basic block list but I
don't know where I can get it.
Any suggestions?
Regards,
--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK