diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 18:25:24 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 18:25:24 +0000 |
commit | 11746d78a555f93dbd0bcb656b214cd2973a651c (patch) | |
tree | 07e7a14ccafdbf92d3862c3bfca5647d2a7ac7d6 /tools/valgrind/tsan/ignores.txt | |
parent | 3b39a1fd53e8d173965431de9709c670c83459f8 (diff) | |
download | chromium_src-11746d78a555f93dbd0bcb656b214cd2973a651c.zip chromium_src-11746d78a555f93dbd0bcb656b214cd2973a651c.tar.gz chromium_src-11746d78a555f93dbd0bcb656b214cd2973a651c.tar.bz2 |
New tsan suppressions from Timur, http://codereview.chromium.org/185008
Review URL: http://codereview.chromium.org/188013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/tsan/ignores.txt')
-rw-r--r-- | tools/valgrind/tsan/ignores.txt | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/tools/valgrind/tsan/ignores.txt b/tools/valgrind/tsan/ignores.txt index e1f0972..e564254 100644 --- a/tools/valgrind/tsan/ignores.txt +++ b/tools/valgrind/tsan/ignores.txt @@ -1,26 +1,25 @@ # This file lists the functions, object files and source files # which should be ignored (i.e. not instrumented) by ThreadSanitizer. +# ignore these libraries obj:*/ld-2* obj:*/libpthread-* +obj:*/libfreetype* +# ignore this standard stuff fun:clone fun:fork fun:pthread_* +fun:random_r +fun:random +fun:rand fun:__lll_mutex_unlock_wake fun:__cxa_atexit fun:__new_exitfn - -src:*ts_valgrind_intercepts.c - -# Chromium-specific -fun:*_ZN4base6subtle* - +fun:_dl_* +fun:__dl_* # dark magic with 'errno' here. -#fun:sys_ptrace_detach -#fun:sys_ptrace -#fun:sys_stat fun:sys_* # ignore libc's printf functions @@ -29,7 +28,6 @@ fun:vfprintf fun:fwrite fun:fflush - # 32-bit version of std::string # There is something very strange inside this function. # Looks like they write zero to a global variable which @@ -37,3 +35,27 @@ fun:fflush # Global var is _ZNSs4_Rep20_S_empty_rep_storageE fun:*_M_mutateEjjj +# Don't instrument intercepts +src:*ts_valgrind_intercepts.c + +################################################################## +# Don't instrument syncronization code +src:*base/waitable_event* +src:*base/atomic* +src:*base/condition_variable* +src:*base/lock* +src:*base/stats_counters* +src:*base/thread_local_storage_posix* + +# This function is heavy in net_unittests +fun:*disk_cache*BackendImpl*CheckAllEntries* + +# V8 hot-spot. Lots of tiny functions there... +# TODO(timurrrr): Should we use coarser segment granularity for this file? +src:*v8/src/objects-inl.h + +# TODO(timurrrr): SKIA - needs separate testing? +# SKIA unittest is single-threaded... +# SKIA uses un-annotated atomic refcount and other sync stuff +# some functions are HEAVY like png, jpeg decoding +src:*third_party/skia* |