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 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

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