mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
AVR:disable nosanitize_address.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
This commit is contained in:
parent
fba3967f2f
commit
66e0e1bb7f
1 changed files with 9 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue