diff options
author | Dodji Seketeli <dodji@redhat.com> | 2009-09-25 23:23:18 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2009-09-26 01:23:18 +0200 |
commit | 7653f2738f8f2c8a1a0bf3f60d09fb0b99205458 (patch) | |
tree | 084ee79e8cbb51630db1074e49f86cafb7826925 /include | |
parent | 072c87d17058df5073c7cb7e9e46809b7c5c0515 (diff) | |
download | gcc-7653f2738f8f2c8a1a0bf3f60d09fb0b99205458.tar.gz |
DWARF for Template parm pack is a gnu extension.
include/ChangeLog:
* dwarf2.h (enum dwarf_tag): Rename DW_TAG_template_parameter_pack and
DW_TAG_formal_parameter_pack into DW_TAG_GNU_template_parameter_pack
and DW_TAG_formal_parameter_pack until DWARF 5 is out.
gcc/ChangeLog:
* dwarf2out.c (dwarf_tag_name, gen_generic_params_dies,
generic_parameter_die, template_parameter_pack_die,
gen_formal_parameter_die, gen_subprogram_die): Adjust after renaming
DW_TAG_formal_parameter_pack and DW_TAG_template_parameter_pack into
DW_TAG_GNU_formal_parameter_pack and DW_TAG_GNU_template_parameter_pack.
gcc/testsuite/ChangeLog:
* g++.dg/debug/dwarf2/template-func-params-4.C: Adjust after renaming
DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack
into DW_TAG_GNU_template_parameter_pack and
DW_TAG_GNU_formal_parameter_pack.
* g++.dg/debug/dwarf2/template-params-4.C: Likewise.
* g++.dg/debug/dwarf2/template-func-params-7.C: Likewise.
From-SVN: r152188
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/dwarf2.h | 15 |
2 files changed, 13 insertions, 8 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b1158a2dd90..f99325ec351 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2009-09-25 Dodji Seketeli <dodji@redhat.com> + + * dwarf2.h (enum dwarf_tag): Rename DW_TAG_template_parameter_pack and + DW_TAG_formal_parameter_pack into DW_TAG_GNU_template_parameter_pack + and DW_TAG_formal_parameter_pack until DWARF 5 is out. + 2009-09-25 Cary Coutant <ccoutant@google.com> Add rest of new values from DWARF Version 4. diff --git a/include/dwarf2.h b/include/dwarf2.h index 4aa10d5a873..385ab2256fa 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -202,14 +202,6 @@ enum dwarf_tag DW_TAG_lo_user = 0x4080, DW_TAG_hi_user = 0xffff, - /* DWARF 5? */ - - /* Template parameter pack extension, specified at - http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates - . */ - DW_TAG_template_parameter_pack = 0x43, - DW_TAG_formal_parameter_pack = 0x44, - /* SGI/MIPS Extensions. */ DW_TAG_MIPS_loop = 0x4081, /* HP extensions. See: ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz . */ @@ -223,6 +215,13 @@ enum dwarf_tag /* Template template parameter. See http://gcc.gnu.org/wiki/TemplateParmsDwarf . */ DW_TAG_GNU_template_template_param = 0x4106, + + /* Template parameter pack extension, specified at + http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates + The values of these two TAGS are in the DW_TAG_GNU_* space until the tags + are properly part of DWARF 5. */ + DW_TAG_GNU_template_parameter_pack = 0x4107, + DW_TAG_GNU_formal_parameter_pack = 0x4108, /* Extensions for UPC. See: http://upc.gwu.edu/~upc. */ DW_TAG_upc_shared_type = 0x8765, DW_TAG_upc_strict_type = 0x8766, |