summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/tsan_analyze.py
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 14:09:11 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 14:09:11 +0000
commitdd352a2862975505f0214082ae003c85b14569da (patch)
treef5bdd79afe7fb9b4926be75f5b00db2f5c697539 /tools/valgrind/tsan_analyze.py
parentb1bbd093afb3cf3c47bb5b9d82fac6145317602a (diff)
downloadchromium_src-dd352a2862975505f0214082ae003c85b14569da.zip
chromium_src-dd352a2862975505f0214082ae003c85b14569da.tar.gz
chromium_src-dd352a2862975505f0214082ae003c85b14569da.tar.bz2
Workaround bug 53198 - don't read non-race ThreadSanitizer warnings on Windows
BUG=53198 TBR=glider Review URL: http://codereview.chromium.org/3135043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/tsan_analyze.py')
-rw-r--r--tools/valgrind/tsan_analyze.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/valgrind/tsan_analyze.py b/tools/valgrind/tsan_analyze.py
index cffb18e..708eed2 100644
--- a/tools/valgrind/tsan_analyze.py
+++ b/tools/valgrind/tsan_analyze.py
@@ -9,6 +9,7 @@
import gdb_helper
+import common
import logging
import optparse
import os
@@ -123,7 +124,8 @@ class TsanAnalyzer:
if re.search(TsanAnalyzer.TSAN_RACE_DESCRIPTION, self.line_):
tmp.extend(self.ReadRaceSection())
self.reports.append(tmp)
- if re.search(TsanAnalyzer.TSAN_WARNING_DESCRIPTION, self.line_):
+ if (re.search(TsanAnalyzer.TSAN_WARNING_DESCRIPTION, self.line_) and
+ not common.IsWindows()): # workaround for http://crbug.com/53198
tmp.extend(self.ReadWarningSection())
self.reports.append(tmp)