Commit d50ba88b authored by jochen@chromium.org's avatar jochen@chromium.org

Introduce a tsan suppressions file

Also suppress a deliberate lock cycle in test-lockers

BUG=none
R=glider@chromium.org, machenbach@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/642023002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24484 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c5ee3ae5
......@@ -305,6 +305,11 @@ def ProcessOptions(options):
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()
......
# Suppressions for TSan v2
# https://code.google.com/p/thread-sanitizer/wiki/Suppressions
# Deliberate lock cycles in test-lockers
deadlock:LockAndUnlockDifferentIsolatesThread::Run
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment