mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Don't use fast_memcpy under msan
This commit is contained in:
parent
7e6db70064
commit
c8af6a7fa7
1 changed files with 3 additions and 1 deletions
|
@ -572,7 +572,9 @@ static void zend_accel_class_hash_copy_from_shm(HashTable *target, HashTable *so
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__AVX__)
|
#if __has_feature(memory_sanitizer)
|
||||||
|
# define fast_memcpy memcpy
|
||||||
|
#elif defined(__AVX__)
|
||||||
# include <nmmintrin.h>
|
# include <nmmintrin.h>
|
||||||
# if defined(__GNUC__) && defined(__i386__)
|
# if defined(__GNUC__) && defined(__i386__)
|
||||||
static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size)
|
static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue