]> git.ipfire.org Git - thirdparty/elfutils.git/commit
dwarflint: Add filtering of duplicate messages
authorPetr Machata <pmachata@redhat.com>
Mon, 28 Mar 2011 22:54:48 +0000 (00:54 +0200)
committerPetr Machata <pmachata@redhat.com>
Mon, 28 Mar 2011 22:54:48 +0000 (00:54 +0200)
commit2600729770557b3e29342b304c85f4e58a2efe28
tree8dfbb80b59dbe794021d850d6af0c6913f3c491d
parenteda095ddccc41210e43c41a65adc8eaff55596e1
dwarflint: Add filtering of duplicate messages

- we use the first string component of stream implementation of wr_message
  as a key to decide whether we've seen the message before.  Most of the
  messages use streams, is why it's like that.  When (if) we get back to
  formatting strings, that string should be even better key, because there
  will be less chance for compiler to do duplicate elimination etc.
dwarflint/check_debug_aranges.cc
dwarflint/check_debug_loc_range.cc
dwarflint/check_matching_ranges.cc
dwarflint/check_range_out_of_scope.cc
dwarflint/messages.cc
dwarflint/messages.hh
dwarflint/option.hh