This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gcc: xtensa: enable address sanitizer


On Mon, Dec 04, 2017 at 01:28:53PM -0800, Max Filippov wrote:
> gcc/
> 2017-12-04  Max Filippov  <jcmvbkbc@gmail.com>
> 
> 	* config/xtensa/xtensa.c (xtensa_asan_shadow_offset): New
> 	function.
> 	(TARGET_ASAN_SHADOW_OFFSET): New macro definition.
> 	* config/xtensa/xtensa.h (FRAME_GROWS_DOWNWARD): Set to 1 if
> 	ASAN is enabled.

Is this just for -fsanitize=kernel-address ?  Because I don't see any
libsanitizer/ changes (and those would need to go upstream first anyway).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]