AVR:disable nosanitize_address.

Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
This commit is contained in:
yangguangcai
2024-10-16 21:52:19 +08:00
committed by Xiang Xiao
parent fba3967f2f
commit 66e0e1bb7f
+9
View File
@@ -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 */