mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Disable ifunc resolvers under thread sanitizer as well
This commit is contained in:
parent
d3d85cbcc1
commit
dacadf5aa3
@ -523,7 +523,7 @@ static zend_always_inline double _zend_get_nan(void) /* {{{ */
|
||||
|
||||
/* Memory sanitizer is incompatible with ifunc resolvers. Even if the resolver
|
||||
* is marked as no_sanitize("memory") it will still be instrumented and crash. */
|
||||
#if __has_feature(memory_sanitizer)
|
||||
#if __has_feature(memory_sanitizer) || __has_feature(thread_sanitizer)
|
||||
# undef HAVE_FUNC_ATTRIBUTE_IFUNC
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user