]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
DW_AT_const_value can take an address too.
authorRoland McGrath <roland@redhat.com>
Mon, 21 Sep 2009 23:42:19 +0000 (16:42 -0700)
committerRoland McGrath <roland@redhat.com>
Mon, 21 Sep 2009 23:42:19 +0000 (16:42 -0700)
libdw/ChangeLog
libdw/c++/dwarf-knowledge.cc

index 4ee405f8c04a2dd59ee3e0d19bf5dd8c3c1f82a4..5d4a6ee35aa82921df6c53115ad217d0e916581d 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-21  Roland McGrath  <roland@redhat.com>
+
+       * c++/dwarf-knowledge.cc (expected_value_space): DW_AT_const_value can
+       take an address too.
+
 2009-09-08  Roland McGrath  <roland@redhat.com>
 
        * c++/dwarf_output: Match duplicates going into the collector even
index c4c7a8114c00441b6d0edbdfddb36708012b6337..3d8edeb558137b0c185f6ace5f18a4a96251bbc5 100644 (file)
@@ -106,7 +106,7 @@ expected_value_space (int attr, int tag)
       return VS(source_file);
 
     case DW_AT_const_value:
-      return VS(constant) | VS(string);
+      return VS(constant) | VS(string) | VS(address);
 
     case DW_AT_is_optional:
     case DW_AT_prototyped: