This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 66e0e1bb7f7a6073706643c303c443e3e10eaafe Author: yangguangcai <[email protected]> AuthorDate: Wed Oct 16 21:52:19 2024 +0800 AVR:disable nosanitize_address. Signed-off-by: yangguangcai <[email protected]> --- include/nuttx/compiler.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 293775f193..4a2d4f7249 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -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 */
