This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, AArch64] Enable Address sanitizer and UB sanitizer
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Patch Tracking <patches at linaro dot org>
- Date: Mon, 29 Sep 2014 15:01:43 +0200
- Subject: Re: [Patch, AArch64] Enable Address sanitizer and UB sanitizer
- Authentication-results: sourceware.org; auth=none
- References: <CAKdteOZq5uYm3eGuy=r5E0rjmLNrszUzOPO57cF6ptTsL_mdmw at mail dot gmail dot com> <87zjdmm6st dot fsf at igel dot home>
On 26 September 2014 23:05, Andreas Schwab <schwab@linux-m68k.org> wrote:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34c65c4
>
> * sanitizer_common/sanitizer_platform_limits_posix.h
> (__sanitizer___kernel_old_uid_t, __sanitizer___kernel_old_gid_t)
> [__aarch64__]: Define to unsigned short.
>
Thanks for pointing this.
My understanding is that this kind of patch has to be submitted to the
libsanitizer maintainers via the LLVM project.
I'm going to take care of it.
Christophe.
> ---
> libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
> index caa36a4..139fe0a 100644
> --- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
> +++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
> @@ -470,7 +470,7 @@ namespace __sanitizer {
> typedef long __sanitizer___kernel_off_t;
> #endif
>
> -#if defined(__powerpc__) || defined(__aarch64__) || defined(__mips__)
> +#if defined(__powerpc__) || defined(__mips__)
> typedef unsigned int __sanitizer___kernel_old_uid_t;
> typedef unsigned int __sanitizer___kernel_old_gid_t;
> #else
> --
> 2.1.1
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."