------- 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