Revision: 24484
Author:   joc...@chromium.org
Date:     Thu Oct  9 09:32:04 2014 UTC
Log:      Introduce a tsan suppressions file

Also suppress a deliberate lock cycle in test-lockers

BUG=none
R=gli...@chromium.org, machenb...@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/642023002
https://code.google.com/p/v8/source/detail?r=24484

Added:
 /branches/bleeding_edge/tools/sanitizers
 /branches/bleeding_edge/tools/sanitizers/tsan_suppressions.txt
Modified:
 /branches/bleeding_edge/tools/run-tests.py

=======================================
--- /dev/null
+++ /branches/bleeding_edge/tools/sanitizers/tsan_suppressions.txt Thu Oct 9 09:32:04 2014 UTC
@@ -0,0 +1,5 @@
+# Suppressions for TSan v2
+# https://code.google.com/p/thread-sanitizer/wiki/Suppressions
+
+# Deliberate lock cycles in test-lockers
+deadlock:LockAndUnlockDifferentIsolatesThread::Run
=======================================
--- /branches/bleeding_edge/tools/run-tests.py  Wed Oct  1 08:34:25 2014 UTC
+++ /branches/bleeding_edge/tools/run-tests.py  Thu Oct  9 09:32:04 2014 UTC
@@ -305,6 +305,11 @@

   if options.tsan:
     VARIANTS = ["default"]
+ suppressions_file = os.path.join(os.path.dirname(os.path.abspath(__file__)),
+                                     'sanitizers', 'tsan_suppressions.txt')
+    tsan_options = '%s suppressions=%s' % (
+        os.environ.get('TSAN_OPTIONS', ''), suppressions_file)
+    os.environ['TSAN_OPTIONS'] = tsan_options

   if options.j == 0:
     options.j = multiprocessing.cpu_count()

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to