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: DIE chains not ending with null entry


Roland McGrath <roland@redhat.com> writes:

>> The thing is, many real-world DWARF files have this problem, so the
>
> Really?  Do you have examples?  Are they generated by current compilers?

I took a second look, and apparently all the cases that I have been
seeing are for CU DIEs.  This are singleton DIEs, not DIE chains (Dwarf
4 Ch7.5: [...] consists of [...] single DW_TAG_compile_unit or
DW_TAG_partial_unit).

I changed the message to an error and only emit it for non-CU DIEs.

Thanks,
PM

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