dwarflint doesn't always catch a bad label PC

Petr Machata pmachata at redhat.com
Thu Sep 30 12:34:46 UTC 2010


15.09.2010 20:23, Josh Stone wrote:
> I tried dwarflint on the testcase given in rhbz634284, and it doesn't
> complain about the label PC which is out of its parent DIE's range.
> https://bugzilla.redhat.com/show_bug.cgi?id=634284
>
> dwarflint does complain about the labels in Roland's more complicated
> implicitptr.c (linked at the end of the bz), so I would expect for my
> simpler case it should also complain.  Any idea why it doesn't?

That happened because .debug_loc wasn't present and that particular 
check pass thought it should be a prerequisite.  It's now fixed.  Thanks 
for the test case.

PM


More information about the elfutils-devel mailing list