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]

Re: Using the tree.


>      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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]