summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-25 23:23:18 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-25 23:23:18 +0000
commit86cbedda857be638af3bf2165d3b121d8b497e45 (patch)
tree084ee79e8cbb51630db1074e49f86cafb7826925 /include
parent395fc2bbdbeb14cb418723bd06e247c1786faaeb (diff)
downloadgcc-86cbedda857be638af3bf2165d3b121d8b497e45.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152188 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/dwarf2.h15
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,