OSDN Git Service

Add some dwarf4 values.
authordevans <devans@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jul 2009 21:00:52 +0000 (21:00 +0000)
committerdevans <devans@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jul 2009 21:00:52 +0000 (21:00 +0000)
* dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
(enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present, DW_FORM_sig8.
(enum dwarf_attribute): Add DW_AT_signature.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149836 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/dwarf2.h

index 2c14069..894b7bb 100644 (file)
@@ -1,3 +1,11 @@
+2009-07-20  Doug Evans  <dje@google.com>
+
+       Add some dwarf4 values.
+       * dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
+       (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
+       DW_FORM_flag_present, DW_FORM_sig8.
+       (enum dwarf_attribute): Add DW_AT_signature.
+
 2009-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * demangle.h
index 7021104..295abf5 100644 (file)
@@ -194,6 +194,8 @@ enum dwarf_tag
     DW_TAG_imported_unit = 0x3d,
     DW_TAG_condition = 0x3f,
     DW_TAG_shared_type = 0x40,
+    /* DWARF 4.  */
+    DW_TAG_type_unit = 0x41,
 
     DW_TAG_lo_user = 0x4080,
     DW_TAG_hi_user = 0xffff,
@@ -244,7 +246,12 @@ enum dwarf_form
     DW_FORM_ref4 = 0x13,
     DW_FORM_ref8 = 0x14,
     DW_FORM_ref_udata = 0x15,
-    DW_FORM_indirect = 0x16
+    DW_FORM_indirect = 0x16,
+    /* DWARF 4.  */
+    DW_FORM_sec_offset = 0x17,
+    DW_FORM_exprloc = 0x18,
+    DW_FORM_flag_present = 0x19,
+    DW_FORM_sig8 = 0x20
   };
 
 /* Attribute names and codes.  */
@@ -342,6 +349,8 @@ enum dwarf_attribute
     DW_AT_elemental     = 0x66,
     DW_AT_pure          = 0x67,
     DW_AT_recursive     = 0x68,
+    /* DWARF 4.  */
+    DW_AT_signature     = 0x69,
 
     DW_AT_lo_user = 0x2000,    /* Implementation-defined range start.  */
     DW_AT_hi_user = 0x3ff0,    /* Implementation-defined range end.  */