diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 14:37:24 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 14:37:24 +0000 |
commit | b0505262af47a4662044f517cd6f921ad6000bb5 (patch) | |
tree | 530bf5273fad17e4a27969c3c0ec5607c5965274 /tools | |
parent | 356f7e4168c535a36c9e8287e4771cb35c0341ac (diff) | |
download | chromium_src-b0505262af47a4662044f517cd6f921ad6000bb5.zip chromium_src-b0505262af47a4662044f517cd6f921ad6000bb5.tar.gz chromium_src-b0505262af47a4662044f517cd6f921ad6000bb5.tar.bz2 |
Add ignores and suppression for TSan/Windows.
It will work on PIN, not Valgrind, but currently I'm adding it to tools valgrind.
We plan to merge tools/valgrind with tools/heapcheck intor tools/memory or something like that - later.
BUG=28363,39456
Review URL: http://codereview.chromium.org/1356006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/valgrind/tsan/ignores_win32.txt | 14 | ||||
-rwxr-xr-x | tools/valgrind/tsan/suppressions_win32.txt | 33 |
2 files changed, 47 insertions, 0 deletions
diff --git a/tools/valgrind/tsan/ignores_win32.txt b/tools/valgrind/tsan/ignores_win32.txt new file mode 100755 index 0000000..4c4c39c --- /dev/null +++ b/tools/valgrind/tsan/ignores_win32.txt @@ -0,0 +1,14 @@ +# This file lists the functions, object files and source files +# which should be ignored (i.e. not instrumented) by ThreadSanitizer on Windows. + +# We ignore security libraries for now since their instrumentation is very slow. +# TODO(timurrrr): investigate whether we need to instrument them +obj:*CRYPT32.dll* +obj:*RPCRT4.dll* + +# Benign race on mutext unlock +fun:_Mtxunlock + +# Some unknown Windows guts +fun_r:Ordinal_* +fun_r:unnamedImageEntryPoint diff --git a/tools/valgrind/tsan/suppressions_win32.txt b/tools/valgrind/tsan/suppressions_win32.txt new file mode 100755 index 0000000..dd055fc --- /dev/null +++ b/tools/valgrind/tsan/suppressions_win32.txt @@ -0,0 +1,33 @@ +############################ +# Chromium + +{ + bug_25385 (2) + ThreadSanitizer:Race + ... + fun:*base*Thread*~* +} + +############################ +# Reports on the guts of Windows +{ + UuidCreate + ThreadSanitizer:Race + ... + fun:UuidCreate +} + +{ + ILFindLastID + ThreadSanitizer:Race + ... + fun:ILFindLastID +} + +{ + RpcServerUnregisterIf + ThreadSanitizer:Race + ... + fun:RpcServerUnregisterIf +} + |