This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Access to symbol table??
- From: "Seema S. Ravandale" <ravandale at cse dot iitb dot ac dot in>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 31 May 2007 20:33:31 +0530 (IST)
- Subject: Access to symbol table??
- Reply-to: ravandale at cse dot iitb dot ac dot in
Hi...
This is Seema here. I am working on GCC in IITB as research fellow.
Actually i am trying to find out scope information of a variable. But i
didnt find any information within "decl" data structure of a variable.
somewhere i read that "level # attribute" gives the inforamtion about
scope. but i am looking at "decl" details just after lowering of GIMPLE
and that field is NULL.
Is there any other way to find out scope of variable?? Is there any
information in "decl" data structure so that i can access symbol table
entry??
--
Seema S. Ravandale,
Research Fellow,
Centre for Formal Design and Verification of Softwares,
Indian Institute of Technology, Bombay.