This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dwarf2out.c: For DWARF 4+, output DW_AT_high_pc as constant offset.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Mark Wielaard <mjw at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jason Merrill <jason at redhat dot com>, ccoutant at google dot com
- Date: Mon, 20 Aug 2012 22:05:06 +0200
- Subject: Re: dwarf2out.c: For DWARF 4+, output DW_AT_high_pc as constant offset.
- References: <1335533816.29213.26.camel@springer.wildebeest.org> <20120427134357.GG16117@tyan-ft48-01.lab.bos.redhat.com> <1335550564.29213.36.camel@springer.wildebeest.org> <20120820195926.GA2667@toonder.wildebeest.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Aug 20, 2012 at 09:59:26PM +0200, Mark Wielaard wrote:
> Ping. There are stable releases of GDB 7.5, valgrind 3.8.0 and
> elfutils 0.154 out now that support it.
>
> I rebased the patch and tested against GDB 7.5.
>
> 2012-08-20 Mark Wielaard <mjw@redhat.com>
>
> * dwarf2out.h (enum dw_val_class): Add dw_val_class_high_pc.
> * dwarf2out.c (dw_val_equal_p): Handle dw_val_class_high_pc.
> (add_AT_low_high_pc): New function.
> (AT_lbl): Handle dw_val_class_high_pc.
> (print_die): Likewise.
> (attr_checksum): Likewise.
> (attr_checksum_ordered): Likewise.
> (same_dw_val_p): Likewise.
> (size_of_die): Likewise.
> (value_format): Likewise.
> (output_die): Likewise.
> (gen_subprogram_die): Use add_AT_low_high_pc.
> (add_high_low_attributes): Likewise.
> (dwarf2out_finish): Likewise.
>
> OK to commit now?
Okay, thanks.
Jakub