1#pragma once
2
3#ifdef __clang__
4#pragma clang diagnostic push
5#pragma clang diagnostic ignored "-Wreserved-id-macro"
6#endif
7
8#define __msan_unpoison(X, Y)
9#define __msan_test_shadow(X, Y) (false)
10#define __msan_print_shadow(X, Y)
11#if defined(__has_feature)
12# if __has_feature(memory_sanitizer)
13# undef __msan_unpoison
14# undef __msan_test_shadow
15# undef __msan_print_shadow
16# include <sanitizer/msan_interface.h>
17# endif
18#endif
19
20#ifdef __clang__
21#pragma clang diagnostic pop
22#endif
23