mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
AVR:disable nosanitize_address.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
This commit is contained in:
@@ -284,6 +284,12 @@
|
||||
# define nosanitize_address
|
||||
# endif
|
||||
|
||||
# if defined(__AVR32__)
|
||||
|
||||
# undef nosanitize_address
|
||||
# define nosanitize_address
|
||||
# endif
|
||||
|
||||
/* The nosanitize_undefined attribute informs GCC don't sanitize it */
|
||||
|
||||
# define nosanitize_undefined __attribute__((no_sanitize("undefined")))
|
||||
@@ -413,6 +419,9 @@
|
||||
|
||||
# elif defined(__AVR__)
|
||||
|
||||
# undef nosanitize_address
|
||||
# define nosanitize_address
|
||||
|
||||
# if defined(__AVR_2_BYTE_PC__) || defined(__AVR_3_BYTE_PC__)
|
||||
/* 2-byte 3-byte PC does not support returnaddress */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user