This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]