Roland McGrath <roland(a)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