mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 17:09:41 -04:00
Merge pull request #8789 from paul-elliott-arm/fix_tsan_gcc
Stop platform test failures with GCC and TSAN
This commit is contained in:
commit
292b1dc1e1
@ -23,6 +23,10 @@
|
|||||||
#if defined(__SANITIZE_ADDRESS__) /* gcc -fsanitize=address */
|
#if defined(__SANITIZE_ADDRESS__) /* gcc -fsanitize=address */
|
||||||
# define MBEDTLS_TEST_HAVE_ASAN
|
# define MBEDTLS_TEST_HAVE_ASAN
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__SANITIZE_THREAD__) /* gcc -fsanitize-thread */
|
||||||
|
# define MBEDTLS_TEST_HAVE_TSAN
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__has_feature)
|
#if defined(__has_feature)
|
||||||
# if __has_feature(address_sanitizer) /* clang -fsanitize=address */
|
# if __has_feature(address_sanitizer) /* clang -fsanitize=address */
|
||||||
# define MBEDTLS_TEST_HAVE_ASAN
|
# define MBEDTLS_TEST_HAVE_ASAN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user