]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarf-knowledge.cc expected_value_space for DW_AT_GNU_vector is VS(flag).
authorMark Wielaard <mjw@redhat.com>
Fri, 1 Apr 2011 22:59:50 +0000 (00:59 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 1 Apr 2011 23:03:44 +0000 (01:03 +0200)
Also DW_AT_GNU_vector is an optional attribute for DW_TAG_array_type
in dwarflint/expected-at.cc.

dwarflint/expected-at.cc
libdw/c++/dwarf-knowledge.cc

index 855c5c1641b78deb1861cdb77e37c74f0bc1ab6a..70f139088b71a27ace052fe183225ab5795d5905 100644 (file)
@@ -61,6 +61,7 @@ expected_at_map::expected_at_map ()
     .optional (DW_AT_start_scope)
     .optional (DW_AT_type)
     .optional (DW_AT_visibility)
+    .optional (DW_AT_GNU_vector)
     ;
 
   m_map [DW_TAG_base_type]
index 48595a8bc20d9657cf60ea3ae4fcdc4cd46d04fa..c38a1691d033acb8bedd0b846c2594e6040a6eb4 100644 (file)
@@ -128,6 +128,7 @@ expected_value_space (int attr, int tag)
     case DW_AT_GNU_all_tail_call_sites:
     case DW_AT_GNU_all_call_sites:
     case DW_AT_GNU_all_source_call_sites:
+    case DW_AT_GNU_vector:
       return VS(flag);
 
     case DW_AT_producer: