crypto/mem.c: switch to tsan_assist.h in CRYPTO_MDEBUG.
authorAndy Polyakov <appro@openssl.org>
Fri, 3 Aug 2018 08:46:03 +0000 (10:46 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 7 Aug 2018 07:08:50 +0000 (09:08 +0200)
commit8f15498563658726a7c2bce7abcf01bea08515de
treea6f0b02b123cd6ef5719eb4c2617b738d23c2ec0
parente519d6b563d95d630723784a5737ebe5ef74e4f3
crypto/mem.c: switch to tsan_assist.h in CRYPTO_MDEBUG.

Rationale is that it wasn't providing accurate statistics anyway.
For statistics to be accurate CRYPTO_get_alloc_counts should acquire
a lock and lock-free additions should not be an option.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6786)
crypto/mem.c