]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: check_dups_abstract_origin use wr_message id for filtering dups.
authorMark Wielaard <mjw@redhat.com>
Mon, 11 Apr 2011 14:34:17 +0000 (16:34 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 11 Apr 2011 14:34:17 +0000 (16:34 +0200)
dwarflint/check_dups_abstract_origin.cc

index d1e8c0b6979f0de3d55d8ed10f17cbecd0c976cb..acb4274f8fac3f0486ab34e15a77f442d0a47aab 100644 (file)
@@ -123,6 +123,7 @@ namespace
            && ! duplicate_ok (entry.tag (), at2->first, attr.first,
                               referree.tag (), at2->second == (*at).second))
          wr_message (to_where (entry), mc_impact_3 | mc_acc_bloat | mc_die_rel)
+           .id (descriptor ())
            << dwarf::tags::name (entry.tag ())
            << " attribute " << dwarf::attributes::name (at2->first)
            << " is duplicated at " << dwarf::attributes::name (attr.first)