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
This commit is contained in:
parent
c5ee3ae511
commit
d50ba88bfd
@ -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()
|
||||
|
5
tools/sanitizers/tsan_suppressions.txt
Normal file
5
tools/sanitizers/tsan_suppressions.txt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user