summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 17:53:26 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 17:53:26 +0000
commitb21231124250fd4aa43d4d4331ebfde91a873fbb (patch)
tree93f53e34deb0c9d151ce167305cba3001fb21945
parentb0187fdc10a677d4670a725a60a4a3c29d55ab82 (diff)
downloadchromium_src-b21231124250fd4aa43d4d4331ebfde91a873fbb.zip
chromium_src-b21231124250fd4aa43d4d4331ebfde91a873fbb.tar.gz
chromium_src-b21231124250fd4aa43d4d4331ebfde91a873fbb.tar.bz2
This CL relates to the known reports on std::string.
We expand the _M_mutate rule to match both _M_mutateEjjj (Linux) and _M_mutateEmmm (Mac) and add a rule for _M_set_length_and_sharable This patch was prepared by Alexander Potapenko (cc'ed) Review URL: http://codereview.chromium.org/242054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27508 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/valgrind/tsan/ignores.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/valgrind/tsan/ignores.txt b/tools/valgrind/tsan/ignores.txt
index 3511b52..71c9bb2 100644
--- a/tools/valgrind/tsan/ignores.txt
+++ b/tools/valgrind/tsan/ignores.txt
@@ -39,7 +39,9 @@ fun:fflush
# Looks like they write zero to a global variable which
# value is already zero. I.e. the race is benign.
# Global var is _ZNSs4_Rep20_S_empty_rep_storageE
-fun:*_M_mutateEjjj
+fun:*_M_mutateE*
+# A similar report on another std::string member.
+fun:*_M_set_length_and_sharable*
# Don't instrument intercepts
src:*ts_valgrind_intercepts.c