summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-03 20:00:07 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-03 20:00:07 +0000
commitb8913f0d456e385a470e4ec157978eacd8a91a91 (patch)
tree4dc53f893b8360e65a2831983078d96e9cef6922
parent5132483c2e2775f0e6bcc249e1438cf88dac97a2 (diff)
downloadchromium_src-b8913f0d456e385a470e4ec157978eacd8a91a91.zip
chromium_src-b8913f0d456e385a470e4ec157978eacd8a91a91.tar.gz
chromium_src-b8913f0d456e385a470e4ec157978eacd8a91a91.tar.bz2
Don't instrument Crypto API for ThreadSanitizer on Mac
Currently, RSAPrivateKeyUnitTest.InitRandomTest takes too long to pass. We ignore istrumentation of libcrypto/Security libraries to speed up the tests that use it. This is similar to http://codereview.chromium.org/242032 Review URL: http://codereview.chromium.org/259033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27952 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/valgrind/tsan/ignores_mac.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/valgrind/tsan/ignores_mac.txt b/tools/valgrind/tsan/ignores_mac.txt
index f502c3e..ece86a8 100644
--- a/tools/valgrind/tsan/ignores_mac.txt
+++ b/tools/valgrind/tsan/ignores_mac.txt
@@ -7,3 +7,9 @@
# Don't instrument code dealing with atomics (base::subtle)
fun:*base*subtle*NoBarrier_Load*
fun:*base*subtle*Release_Store*
+
+# we ignore the Security libraries for now since
+# their instrumentation is very slow.
+# TODO(timurrrr): investigate whether we need to instrument them
+obj:*/Security*
+obj:*/libcrypto*