This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: dwarflint: DW_AT_location being empty vs. missing check
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 05 Mar 2009 22:36:23 +0100
- Subject: Re: dwarflint: DW_AT_location being empty vs. missing check
On Thu, 05 Mar 2009 22:17:57 +0100, Roland McGrath wrote:
> It would be great to collect these ideas on the DwarfLint wiki page
done.
> I had actually contemplated the converse check. That is, call questionable
> a variable/formal_parameter DIE with no location attrs (nor alternatives
> like const_value). I thought of this because the buggy/poor GCC generation
> for e.g. inlines' parameters' locations produced no attrs at all and looks
> like the compiler just forgot they could have them.
From the practical standpoint I agree (as it is now missing in PR debug/39372).
Thanks,
Jan