This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: dwarflint doesn't always catch a bad label PC
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 30 Sep 2010 14:34:46 +0200
- Subject: Re: dwarflint doesn't always catch a bad label PC
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