]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Require DW_AT_import at DW_TAG_imported_unit
authorPetr Machata <pmachata@redhat.com>
Wed, 15 Jul 2009 15:06:41 +0000 (17:06 +0200)
committerPetr Machata <pmachata@redhat.com>
Wed, 15 Jul 2009 15:06:41 +0000 (17:06 +0200)
src/dwarflint-expected-at.cc

index 0bfac2cbbf43f678fc15384c6c3c73e202947b99..3c2829287ba3ceb4d1e09b97db02213052b5786f 100644 (file)
@@ -278,7 +278,7 @@ expected_at_map::expected_at_map ()
     ;
 
   m_map [DW_TAG_imported_unit]
-    .optional (DW_AT_import)
+    .required (DW_AT_import)
     ;
 
   m_map [DW_TAG_inheritance]