Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: tools/valgrind/drmemory_analyze.py

Issue 8437089: Add name= fields to sanity suppressions, suppress a couple of new[]/delete mismatches (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/valgrind/drmemory_analyze.py
===================================================================
--- tools/valgrind/drmemory_analyze.py (revision 108466)
+++ tools/valgrind/drmemory_analyze.py (working copy)
@@ -78,7 +78,8 @@
self.ReadLine()
while self.line_.strip() != "":
line = self.line_.strip()
- (count, name) = re.match(" *([0-9]+)x: (.*)", line).groups()
+ (count, name) = re.match(" *([0-9]+)x(?: \(leaked .*\))?: (.*)",
+ line).groups()
self.used_suppressions.append("%7s %s" % (count, name))
self.ReadLine()
break
« tools/valgrind/drmemory/suppressions.txt ('K') | « tools/valgrind/drmemory/suppressions.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698