From: Julian Seward Date: Sun, 26 Jul 2009 21:59:29 +0000 (+0000) Subject: Relatively inconsequential tidying of the Helgrind supps for Darwin. X-Git-Tag: svn/VALGRIND_3_5_0~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c573c600f4ee3c9ebc6891867d63c98e189759b8;p=thirdparty%2Fvalgrind.git Relatively inconsequential tidying of the Helgrind supps for Darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10628 --- diff --git a/darwin9.supp b/darwin9.supp index f8dff31a4e..095fb5510e 100644 --- a/darwin9.supp +++ b/darwin9.supp @@ -209,44 +209,44 @@ # I don't know if they're real problems or false positives (njn). { - crude1 + helgrind-darwinlibc-nuke-everything-in-dyld Helgrind:Race obj:/usr/lib/dyld } + { - crude2 + helgrind-darwinlibc-nuke-everything-in-libSystem.B.dylib Helgrind:Race obj:/usr/lib/libSystem.B.dylib } + # This would be better as "fun:\?\?\?" but string matching doesn't seem to # allow escaping meta-chars. +# +# This is very bad .. not only will it hide races in any +# un-identified piece of code, the ??? also matches any 3-char +# function name. { - crude3 + helgrind-darwinlibc-nuke-everything-in-???-(unknown-code) Helgrind:Race fun:??? } + { - crude4 + helgrind-darwinlibc--mythread_wrapper-*thread*start* Helgrind:Race fun:mythread_wrapper + fun:*thread*start* } + { - crude5 + helgrind-darwinlibc--pthread_create_WRK-pthread_create Helgrind:Race - ... fun:pthread_create_WRK fun:pthread_create } -# I think this suppresses the same race as helgrind-glibc2X-102, -# that is, the unavoidable startup race on xargs[2] in hg_intercepts.c. -{ - helgrind-darwin9-102 - Helgrind:Race - fun:pthread_create -} - # Thread #9: Bug in libpthread: recursive write lock granted on # mutex/wrlock which does not support recursion # at 0x18696: pthread_cond_wait* (hg_intercepts.c:655) @@ -256,7 +256,7 @@ # no idea what this is about # { - helgrind-darwin9-kludge1 + helgrind-darwin9--pthread-rwlock-kludgery Helgrind:Misc fun:pthread_cond_wait* fun:pthread_rwlock_*lock*