summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/library/aesni.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/mbedtls/library/aesni.c')
-rw-r--r--thirdparty/mbedtls/library/aesni.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/mbedtls/library/aesni.c b/thirdparty/mbedtls/library/aesni.c
index 1ca3c3ef5b..062708b047 100644
--- a/thirdparty/mbedtls/library/aesni.c
+++ b/thirdparty/mbedtls/library/aesni.c
@@ -32,6 +32,12 @@
#if defined(MBEDTLS_AESNI_C)
+#if defined(__has_feature)
+#if __has_feature(memory_sanitizer)
+#warning "MBEDTLS_AESNI_C is known to cause spurious error reports with some memory sanitizers as they do not understand the assembly code."
+#endif
+#endif
+
#include "mbedtls/aesni.h"
#include <string.h>