aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxrt/msan.h
blob: 5cf9572af0e4a9dd7d9ab5139178875ab6cc62db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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