summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/tsan
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 20:05:30 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 20:05:30 +0000
commitac2d9415b0d31201c30bc6f17759aa10c1f50ea8 (patch)
tree3eb494580092a0a21a0e3a6886046d5a6909e992 /tools/valgrind/tsan
parenta0d2c0cc0e816e3f054a54dc22a2e000440f0077 (diff)
downloadchromium_src-ac2d9415b0d31201c30bc6f17759aa10c1f50ea8.zip
chromium_src-ac2d9415b0d31201c30bc6f17759aa10c1f50ea8.tar.gz
chromium_src-ac2d9415b0d31201c30bc6f17759aa10c1f50ea8.tar.bz2
Added a few suppressions for ThreadSanitizer on Mac.
This patch was prepared by Alexander Potapenko (cc'ed), we work together on ThreadSanitizer for Chromium. Review URL: http://codereview.chromium.org/194106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/tsan')
-rw-r--r--tools/valgrind/tsan/suppressions_mac.txt91
1 files changed, 91 insertions, 0 deletions
diff --git a/tools/valgrind/tsan/suppressions_mac.txt b/tools/valgrind/tsan/suppressions_mac.txt
new file mode 100644
index 0000000..3cede4d
--- /dev/null
+++ b/tools/valgrind/tsan/suppressions_mac.txt
@@ -0,0 +1,91 @@
+# There are two kinds of suppressions in this file.
+# 1. third party stuff we have no control over
+#
+# 2. Suppressions for real chromium bugs that are not yet fixed.
+# These should all be in chromium's bug tracking system (but a few aren't yet).
+# Periodically we should sweep this file and the bug tracker clean by
+# running overnight and removing outdated bugs/suppressions.
+#-----------------------------------------------------------------------
+
+# 1. third party stuff we have no control over
+# Several Cocoa-specific races
+{
+ Some Cocoa-specific race in NSRunLoop class
+ ThreadSanitizer:Race
+ ...
+ fun:*CFRunLoop*
+}
+
+{
+ A race releasing NSObject
+ ThreadSanitizer:Race
+ ...
+ fun:CFBagContainsValue
+ fun:__CFDoExternRefOperation
+ fun:-[NSObject release]
+}
+
+{
+ And another race releasing NSObject
+ ThreadSanitizer:Race
+ ...
+ fun:CFBagRemoveValue
+ fun:__CFDoExternRefOperation
+ fun:-[NSObject release]
+}
+
+{
+ A race retaining NSObject
+ ThreadSanitizer:Race
+ ...
+ fun:CFBagAddValue
+ fun:__CFDoExternRefOperation
+ fun:-[NSObject retain]
+}
+
+# media_unittests depend on the Darwin libraries which have many reports in
+# them.
+{
+ Warnings in the CoreAudio framework
+ ThreadSanitizer:Race
+ ...
+ obj:/System/Library/Components/CoreAudio.component*
+}
+
+{
+ A warning in CoreAudio framework
+ ThreadSanitizer:Race
+ ...
+ fun:*HALRunLoop*
+}
+
+{
+ A warning in the AudioToolbox framework
+ ThreadSanitizer:Race
+ ...
+ fun:*CAPThread*
+}
+
+{
+ Warnings inside AQServer_{Stop,EnqueueBuffer}
+ ThreadSanitizer:Race
+ ...
+ fun:*AudioQueueObject*
+ ...
+ fun:AQServer_*
+}
+
+{
+ Warnings inside AudioHardwareGetProperty
+ ThreadSanitizer:Race
+ ...
+ fun:AudioHardwareGetProperty
+}
+
+#-----------------------------------------------------------------------
+# 2. Suppressions for real chromium bugs that are not yet fixed.
+# These should all be in chromium's bug tracking system (but a few aren't yet).
+# Periodically we should sweep this file and the bug tracker clean by
+# running overnight and removing outdated bugs/suppressions.
+
+# Nothing here yet, but updates will be submitted soon.