This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using the tree.
- To: Virgil dot Palanciuc at cs dot pub dot ro
- Subject: Re: Using the tree.
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 28 May 2000 20:28:02 +0200
- CC: gcc at gcc dot gnu dot org
- References: <NDBBLMFNNKHMOCBKELIEOENACBAA.Virgil.Palanciuc@cs.pub.ro>
> Anyway, there must be a way to find out what stack slot is assigned to
> each variable (and to find out this info about arrays, too !!! ).
> Ultimately, this information can be obtained in the parsing step and
> memorised in a different data structure until needed. This is an ugly yet
> safe solution - but I don't know how (and *exactly* when) to do that,
> either.
Since the information you need is in the debugging information, you
may want to trace how debugging information is generated for a function.
Regards,
Martin