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 aborts after "invalid" attribute?


18.10.2010 18:28, Petr Machata wrote:
>> While investigating one of my bugs[1], I tried dwarflint and ran into
>> this error:
>>
>> $ dwarflint libxul.so
>> error: .debug_abbrev: abbr. attribute 0x4657e: invalid name 0x2107.
>>
>> That looks like DW_AT_GNU_vector.  But the problem is that this one
>> error seems to prevent me from getting any other diagnostics about that
>> file.  I suppose it's possible that there aren't any other errors, but
>> it runs so quickly on this 280MB file that I doubt it's really checking
>> everything.  Roland asked me to report this, so here I am. :)
>
> Thanks.  Hmm, 280MB is too big for a test case.  Does it fail on
> anything of a more reasonable size, that I could add to the test suite?

I added some elementary support for DW_AT_GNU*, it's on the dwarf 
branch.  Singe DW_AT_GNU_vector is just a flag attribute, it might even 
be enough for your case.

PM

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