diff options
| author | Andrey Khalyavin <[email protected]> | 2022-02-10 16:46:30 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:30 +0300 |
| commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/cxxsupp/libcxxrt/msan.h | |
| parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
Restoring authorship annotation for Andrey Khalyavin <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxrt/msan.h')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxxrt/msan.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/libs/cxxsupp/libcxxrt/msan.h b/contrib/libs/cxxsupp/libcxxrt/msan.h index 7e3b4bc8f40..5cf9572af0e 100644 --- a/contrib/libs/cxxsupp/libcxxrt/msan.h +++ b/contrib/libs/cxxsupp/libcxxrt/msan.h @@ -1,12 +1,12 @@ -#pragma once - -#include <stddef.h> - -#if defined(__clang__) -#if __has_feature(memory_sanitizer) -extern "C" void __msan_unpoison(const volatile void* ptr, size_t size); -#ifndef __SANITIZE_MEMORY__ -#define __SANITIZE_MEMORY__ -#endif -#endif -#endif +#pragma once + +#include <stddef.h> + +#if defined(__clang__) +#if __has_feature(memory_sanitizer) +extern "C" void __msan_unpoison(const volatile void* ptr, size_t size); +#ifndef __SANITIZE_MEMORY__ +#define __SANITIZE_MEMORY__ +#endif +#endif +#endif |
