Merge pull request #24263 from georgthegreat:msan-include

Add missing sanitizer interface include
This commit is contained in:
Alexander Smorkalov 2023-09-13 14:50:59 +03:00 committed by GitHub
commit 4790a3732e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,7 @@
#if defined(__clang__) && defined(__has_feature)
#if __has_feature(memory_sanitizer)
#include <sanitizer/msan_interface.h>
#define CV_ANNOTATE_MEMORY_IS_INITIALIZED(address, size) \
__msan_unpoison(address, size)
#endif