aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-04-15 17:18:20 +0000
committerMark Wielaard <mark@gcc.gnu.org>2014-04-15 17:18:20 +0000
commit25dce5c6fb72b00a31245938fb69fd198e1fe31f (patch)
treeab4a9c02e9c772a47ed327a4916a64ef0d051155 /gcc/cgraphclones.c
parent8d3c076f3ddc11df418af3ac54d28a4a2d19ef3b (diff)
downloadgcc-25dce5c6fb72b00a31245938fb69fd198e1fe31f.zip
gcc-25dce5c6fb72b00a31245938fb69fd198e1fe31f.tar.gz
gcc-25dce5c6fb72b00a31245938fb69fd198e1fe31f.tar.bz2
Add DW_AT_const_value as unsigned or int depending on type and value used.
As the comment in the code already indicated DWARF2 does provide DW_FORM_sdata/DW_FORM_udata to represent signed/unsigned data. Enumeration constants wider than HOST_WIDE_INT are already handled separately. Those constant values that do fit a HOST_WIDE_INT can be encoded as signed or unsigned depending on type and value for more efficient encoding. * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value as unsigned or int depending on type and value used. From-SVN: r209424
Diffstat (limited to 'gcc/cgraphclones.c')
0 files changed, 0 insertions, 0 deletions