[Bug debug/42959] g++ does not emit DW_AT_default_value
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 11 20:01:00 GMT 2010
------- Comment #2 from jakub at gcc dot gnu dot org 2010-03-11 20:01 -------
I think instead of creating the _1 functions you should just add the attr
argument to those 2 functions and modify callers to pass DW_AT_const_value.
There aren't so many callers, and
add_location_or_const_value_attribute/add_AT_location_description is an example
already. Perhaps putting attr argument right after die would be better too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42959
More information about the Gcc-bugs
mailing list