From: Petr Machata Date: Mon, 30 Aug 2010 00:34:30 +0000 (+0200) Subject: dwarflint: Add documentation to check_dups_abstract_origin X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a3323bea5e3a8569c1822a6fb99879f0bf8e442;p=thirdparty%2Felfutils.git dwarflint: Add documentation to check_dups_abstract_origin --- diff --git a/dwarflint/check_dups_abstract_origin.cc b/dwarflint/check_dups_abstract_origin.cc index 88b584242..314bf6dd4 100644 --- a/dwarflint/check_dups_abstract_origin.cc +++ b/dwarflint/check_dups_abstract_origin.cc @@ -23,13 +23,6 @@ Network licensing program, please visit 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 #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; }