This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
Re: location lists
- To: todd dot allen at ccur dot com (Todd Allen)
- Subject: Re: location lists
- From: Jason Merrill <jason at redhat dot com>
- Date: 07 Mar 2001 18:51:39 +0000
- Cc: dwarf2 at corp dot sgi dot com (dwarf2)
- References: <200103071844.f27Iivf25436@toad.ccur.com>
- Reply-To: Jason Merrill <jason at redhat dot com>
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