This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: dwarflint
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 16 Dec 2008 23:17:18 +0100
- Subject: Re: dwarflint
On Tue, 16 Dec 2008 23:11:08 +0100, Petr Machata wrote:
> All cases that I've seen so far were suffixes of previous strings. For
> example this is a typical case (in libX11):
>
> [ 14fd] "/usr/src/debug/libX11-1.1.4/src"
> [ 151d] ".4/src"
> [ 1524] "xbutton"
>
> dwarflint claims that 0x151d..0x1523 are unused. I'm thinking it's the
> compiler squeezing the reference to ".4/src" into previous string, and
> failing to garbage collect the fragment.
Guessing it is a result of debugedit during rpmbuild which just overwrites the
paths with their shorter (relocated) variants because debugedit has no real
DWARF reader/writer - before you write the new one.
Regards,
Jan