mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed an unavailable sanitizer feature
This commit is contained in:
parent
290711e1ce
commit
8ce5d46e66
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
__attribute__((__no_sanitize__("memory, address"), __noinline__)) x
|
||||
#elif __has_feature(address_sanitizer)
|
||||
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(x) \
|
||||
__attribute__((__no_sanitize__("memory, address"), __noinline__)) x
|
||||
__attribute__((__no_sanitize__("address"), __noinline__)) x
|
||||
#elif defined(NO_SANITIZE_ADDRESS)
|
||||
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(x) \
|
||||
NO_SANITIZE_ADDRESS(NOINLINE(x))
|
||||
|
|
Loading…
Add table
Reference in a new issue