[PATCH] Add DIE offsets in error messages to make it easier to find what is wrong.
Jakub Jelinek
jakub@redhat.com
Tue Jan 26 20:49:22 GMT 2021
On Tue, Jan 26, 2021 at 09:45:09PM +0100, Mark Wielaard wrote:
> With the following patch dwz will give a message like:
>
> libmozjs-78.so: Couldn't find DIE at [bd6b507] referenced by
> DW_AT_abstract_origin from DIE at [bd5bb9b]
>
> Which makes it a easier to figure out what is going on.
>
> In the above case it is easy to find the producer of the CU of those
> two DIEs. Which turned out the be is clang LLVM (rustc version 1.49.0)
> which seems to have gotten the abstract origin reference wrong.
LGTM, thanks.
Jakub
More information about the Dwz
mailing list