This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: dwarflint vs C++
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 03 Jul 2009 12:53:31 -0700
- Subject: Re: dwarflint vs C++
> That should be 1-byte range. I've introduced the [,) notation, it's on
> the branch. The alignment is now also considered.
Thanks, this looks much better. I assume that these "section coverage"
checks are only for inside the ranges covered by some CU? (I guess they
must be, or it would have complained about the crt1.o text.)
Now I am getting this (for src/addr2line):
error: .debug_aranges: arange 0x10 (CU DIE 11): couldn't find a section that the range [0x40149c, 0x40236c) covers.
(BTW, I think that is a "CU DIE %d" that wants to be a %#x.)
This is clearly wrong:
[13] .text PROGBITS 00000000004013b0 000013b0 00001098 0 AX 0 0 16
[ b] compile_unit
producer "GNU C 4.4.0 20090506 (Red Hat 4.4.0-4)"
language ISO C99 (12)
name "../../../redhat/elfutils/src/addr2line.c"
comp_dir "/home/roland/build/elfutils/src"
low_pc 0x000000000040149c <main>
high_pc 0x000000000040236c
stmt_list 0
Some other binaries still have many .debug_aranges msgs, but I have not
looked yet whether they are correct or not.
Thanks,
Roland