Skip to content

Commit a55e2cd

Browse files
committed
csfilter: improve deduplication of valgrind's reports
1 parent 2bd9f64 commit a55e2cd

File tree

5 files changed

+92163
-0
lines changed

5 files changed

+92163
-0
lines changed

src/csfilter.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ MsgFilter::MsgFilter():
105105
// unify (per build random) names of temporary variables
106106
d->addMsgFilter("COMPILER_WARNING", "_tmp[0-9]+_", "_tmp_");
107107

108+
// auxiliary info provided by valgrind directly in the key event message
109+
d->addMsgFilter("VALGRIND_WARNING",
110+
" lost in loss record [0-9]+ of [0-9]+$", "");
111+
108112
// pylint reports, either raw, or prospector-wrapped
109113
const std::vector<std::string> pylintCheckers= {
110114
"PROSPECTOR_WARNING",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--mode=json --remove-duplicates

0 commit comments

Comments
 (0)