]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Add documentation to check_dups_abstract_origin
authorPetr Machata <pmachata@redhat.com>
Mon, 30 Aug 2010 00:34:30 +0000 (02:34 +0200)
committerPetr Machata <pmachata@redhat.com>
Mon, 30 Aug 2010 00:34:30 +0000 (02:34 +0200)
dwarflint/check_dups_abstract_origin.cc

index 88b584242f02fecb3fb00fcf073d68c34fec6c2c..314bf6dd4ed59790ce8402f3b52681b5fa17f7ad 100644 (file)
    Network licensing program, please visit www.openinventionnetwork.com
    <http://www.openinventionnetwork.com>.  */
 
-// Implements a check for
-//  https://bugzilla.redhat.com/show_bug.cgi?id=527430
-//
-// Roland: If a given attribute name is present on a DIE, it is
-// suspicious if that attribute name appears on the DIE that's the
-// first DIE's DW_AT_abstract_origin or DW_AT_specification.
-
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
@@ -50,7 +43,13 @@ namespace
   {
   public:
     static checkdescriptor descriptor () {
-      static checkdescriptor cd ("check_dups_abstract_origin");
+      static checkdescriptor cd
+       (checkdescriptor::create ("check_dups_abstract_origin")
+        .description (
+"If a given attribute name is present on a DIE, it is\n"
+"suspicious if that attribute name appears on the DIE that's the\n"
+"first DIE's DW_AT_abstract_origin or DW_AT_specification.\n"
+" https://bugzilla.redhat.com/show_bug.cgi?id=527430\n"));
       return cd;
     }