This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc: xtensa: enable address sanitizer
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, linux-xtensa at linux-xtensa dot org, Sterling Augustine <augustine dot sterling at gmail dot com>
- Date: Mon, 4 Dec 2017 22:31:34 +0100
- Subject: Re: [PATCH] gcc: xtensa: enable address sanitizer
- Authentication-results: sourceware.org; auth=none
- References: <1512422933-20575-1-git-send-email-jcmvbkbc@gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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