This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: locexpr vs. loclist 1 entry
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 25 Sep 2009 21:06:11 +0200
- Subject: Re: locexpr vs. loclist 1 entry
25.09.2009 19:47, Petr Machata wrote:
> I wonder about the following:
>
> $ src/dwarfcmp ./a.out ./a.out.out
> 3d vs 57: data_member_location={locexpr} vs
> data_member_location={loclist 1 entries}
>
> It's certainly not optimal to store it this way, but aren't these two
> cases actually equal? (Um, assuming there's no other difference, like
> the bytecode being actually different, which I didn't check.)
After a conversation with Jan Kratochvil: a.out.out is what the writer
makes from a.out. The one loclist range is defined over 0..0xffff...,
because it came up from the locexpr block.
PM