mirror of
https://github.com/opencv/opencv.git
synced 2024-12-12 07:09:12 +08:00
Merge pull request #24263 from georgthegreat:msan-include
Add missing sanitizer interface include
This commit is contained in:
commit
4790a3732e
@ -66,6 +66,7 @@
|
|||||||
|
|
||||||
#if defined(__clang__) && defined(__has_feature)
|
#if defined(__clang__) && defined(__has_feature)
|
||||||
#if __has_feature(memory_sanitizer)
|
#if __has_feature(memory_sanitizer)
|
||||||
|
#include <sanitizer/msan_interface.h>
|
||||||
#define CV_ANNOTATE_MEMORY_IS_INITIALIZED(address, size) \
|
#define CV_ANNOTATE_MEMORY_IS_INITIALIZED(address, size) \
|
||||||
__msan_unpoison(address, size)
|
__msan_unpoison(address, size)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user