diff options
author | Andreas Schneider <asn@samba.org> | 2018-09-28 11:01:15 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2018-10-23 15:38:31 +0200 |
commit | a5df8fc8f5f22ba561a39b3eb752766cb62d7f71 (patch) | |
tree | 6bafb04c04d4886ce4c494b4ffad8cc69d4673df /tests/helgrind.supp | |
parent | da4b908371ddc05a8402794b6929979449e4132a (diff) | |
download | socket_wrapper-a5df8fc8f5f22ba561a39b3eb752766cb62d7f71.tar.gz socket_wrapper-a5df8fc8f5f22ba561a39b3eb752766cb62d7f71.tar.xz socket_wrapper-a5df8fc8f5f22ba561a39b3eb752766cb62d7f71.zip |
cmake: Suppress helgrind race condition warning we created on purpose
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'tests/helgrind.supp')
-rw-r--r-- | tests/helgrind.supp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/helgrind.supp b/tests/helgrind.supp new file mode 100644 index 0000000..733f714 --- /dev/null +++ b/tests/helgrind.supp @@ -0,0 +1,11 @@ +# The swrap_bind_symbol_lib* macros have a thread race condition on purpose! +# +# As an optimization we do not lock the access. However if the obj is not +# bound, we lock it with a mutex and reread it again. And binding the symbol is +# protected. +{ + SWRAP_SYMBOL_ACCESS + Helgrind:Race + fun:libc_* + fun:swrap_* +} |