This is the mail archive of the
mailing list for the GCC project.
Re: VTA merge - introduction
On Jun 5, 2009, Richard Henderson <firstname.lastname@example.org> wrote:
> Alexandre Oliva wrote:
>> On Jun 5, 2009, Richard Henderson <email@example.com> wrote:
>>> Alexandre Oliva wrote:
>>>> On Jun 5, 2009, Richard Guenther <firstname.lastname@example.org> wrote:
>>>>> Probably because var-tracking doesn't handle constants as location?
>>>> var tracking actually does. It's debug info output that doesn't know
>>>> what to do with this kind of location :-(
>>> Hmm. We *should* be able to do this w/ dwarf2... I'll have a look.
>> Dwarf 2 can only do constants that are constant throughout the life of
>> the variable, not in location lists :-(
> Ah. Well, it could if we dropped the constant into memory, like I think
> we do for some other debugging constants.
I'm pretty sure we did, and that this caused bootstrap-debug failures
very early on. We could get debug info to refer to a constant in
non-debug memory if we found it to be already there. Failing that, we
could perhaps emit the constant into debug memory, but I'm not sure how
debug info consumers would cope with locations in debug sections.
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer