dwarflint: DW_AT_location being empty vs. missing check

Jan Kratochvil jan.kratochvil at redhat.com
Thu Mar 5 21:36:23 UTC 2009


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


More information about the elfutils-devel mailing list