This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
Re: location lists
I hadn't thought about this, but it occurs to me that Jason's idea would
also probably make it easier to merge the global info, by keeping the local
modifications out of it.
Jim
Jason Merrill wrote:
>
> I think that using location lists for localizations of global variables
> (and up-references) is the wrong approach. I think it would make more
> sense to introduce a TAG_local_copy or some such in the function scope
> which would refer to the global variable DIE; this local DIE could have a
> location list, or just a simple location.
>
> Jason
--
Jim Dehnert Transmeta Corp.
dehnert@transmeta.com (408) 919-6984
dehnertj@acm.org