This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add DW_AT_const_value as unsigned or int depending on type and value used.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Mark Wielaard <mjw at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Tom Tromey <tromey at redhat dot com>, Jason Merrill <jason at redhat dot com>
- Date: Mon, 14 Apr 2014 23:58:39 +0200
- Subject: Re: [PATCH] Add DW_AT_const_value as unsigned or int depending on type and value used.
- Authentication-results: sourceware.org; auth=none
- References: <1395573430-21207-1-git-send-email-mjw at redhat dot com> <1397510723 dot 5633 dot 49 dot camel at bordewijk dot wildebeest dot org> <CAHACq4rh-DjYsQ=bgtwsPM-cvc17PP0hPhqqQvwEVvfBDDKMSg at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Apr 14, 2014 at 02:55:52PM -0700, Cary Coutant wrote:
> Also note that size_of_die and value_format will still choose
> DW_FORM_data[1248] for dw_val_class_unsigned_const in most cases.
> Don't you really want to use DW_FORM_udata?
DW_FORM_data[1248] is in many cases smaller than DW_FORM_udata (though, one
has to take into account possibly larger .debug_abbrev size).
Jakub