[compiler-rt] r277621 - [ASan] Report illegal instruction exceptions in ASan

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 13:32:27 PDT 2016


Yeah, I cribbed this test from
compiler-rt/test/sanitizer_common/TestCases/Linux/ill.cc, which has this:

// FIXME: seems to fail on ARM
// REQUIRES: x86_64-target-arch

This REQUIRES line is no good for me because I need to run it on 32-bit
Windows as well as x86_64. I guess I can try to XFAIL for now. I think to
fix this for real we need to install a SIGTRAP signal handler, as that's
what __builtin_trap appears to generate on ARM.

On Wed, Aug 3, 2016 at 1:18 PM, Renato Golin <renato.golin at linaro.org>
wrote:

> On 3 August 2016 at 19:13, Reid Kleckner via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> > Author: rnk
> > Date: Wed Aug  3 13:13:14 2016
> > New Revision: 277621
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=277621&view=rev
> > Log:
> > [ASan] Report illegal instruction exceptions in ASan
> >
> > Summary:
> > Respect the handle_sigill common flag and handle_segv flags while we're
> > at it.
>
> Hi Reid,
>
> This looks yours.
>
> http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/10233
>
> We had too many at the same time, so I'll be a bit redundant and email
> people directly to make sure no one ignores on the other's problems.
> :)
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160803/a6c1cf0b/attachment.html>


More information about the llvm-commits mailing list