This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11074] loc2c/vta: synthetic address range warning/error during -p4 for dwarf const_value
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 9 Dec 2009 21:48:20 -0000
- Subject: [Bug translator/11074] loc2c/vta: synthetic address range warning/error during -p4 for dwarf const_value
- References: <20091209172439.11074.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2009-12-09 21:48 -------
(In reply to comment #3)
> OTOH, we still need to emit sufficient casting goo to make real constants
> pass into intptr_t's without complaint.
Yes, I don't have a real testcase for it yet though. Using data4 for real values
seems uncommon. The dwarf spec even warns about it:
If one of the DW_FORM_data<n> forms is used to represent a signed or unsigned
integer, it can be hard for a consumer to discover the context necessary to
determine which interpretation is intended. Producers are therefore strongly
encouraged to use DW_FORM_sdata or DW_FORM_udata for signed and unsigned
integers respectively, rather than DW_FORM_data<n>.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11074
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.