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 allow strange combinations of attribute/form in gnu mode


Mark Wielaard <mjw@redhat.com> writes:

> On Wed, 2011-03-30 at 12:53 +0200, Mark Wielaard wrote:
>> I came across a strange combination of new attribute with old form for
>> gcc. When gcc isn't using -gstrict-dwarf, it allows attributes from
>> newer versions, but doesn't use new forms, even if such an attribute
>> would need that. So this patch allows that (in particular for
>> DW_AT_ranges for dwarf2), but only in gnu mode. Does this look like a
>> sane solution?
>
> On irc Petr told me he didn't like the creeping of the version as state
> into dwarf_gnu. So this simpler version, just allows it as gnu extension
> in general. Petr, does this new patch look better?

Much, thanks.

PM

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