[PATCH] AArch64 sanitizer support

Kostya Serebryany kcc at google.com
Mon Feb 10 09:16:00 PST 2014


Hi Christophe,

The patch is not trivial and needs some consideration.
May I ask you to use http://llvm.org/docs/Phabricator.html?
It will speed up the review on our side.

Thanks,
--kcc


On Mon, Feb 10, 2014 at 4:21 PM, Christophe Lyon <christophe.lyon at linaro.org
> wrote:

> Hi,
>
> The attached patch enables sanitizer (asan, ubsan) on AArch64.
>
> As I work on GCC, I have written the patch and tested it within GCC,
> where I had to merge libsanitizer from rev 198044 (this patch is based
> onto this revision).
>
> I have an additional patch to enable libsanitizer on AArch64 in GCC,
> which I will send to GCC once the AArch64 support has been accepted in
> libsanitizer itself.
>
> Testing has proven to be a bit tricky:
> - the Foundation Model simulator is slow (causing some timeouts), and
> shows reliability problems with GCC's dejagnu testsuite
> - qemu-aarch64 is not yet fully supported and goes into infinite loop
> when executing the null-deref-1.c test, which otherwise works under
> the Foundation Model.
> - I managed to have someone execute the GCC testsuite on actual
> AArch64 hardware, showing that the tests pass
> - some of ubsan tests cause GCC to ICE, but I think this will have to
> be addressed separately in GCC
>
> Finally, as I will be away from office for a few weeks, I might not be
> able to address all comments, but Renato or Yvan in CC will be able to
> answer questions.
>
> Thanks,
>
> Christophe.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140210/095c6753/attachment.html>


More information about the llvm-commits mailing list