[LLVMdev] UBSan on AArch64

Kostya Serebryany kcc at google.com
Wed Jan 7 10:19:34 PST 2015


On Wed, Jan 7, 2015 at 8:33 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> Kostya, Christophe,
>
> I'm running the full tests on AARch64 and the only RT test that fails is:
>
> UndefinedBehaviorSanitizer-Standalone :: TestCases/Float/cast-overflow.cpp
>
> The problem seems to be a trap in __sanitizer::internal_memchr() while
> trying to handle __ubsan::__ubsan_handle_float_cast_overflow().
>

Can you give more info (exact report, gdb trace, etc)


>
> I haven't looked at it in detail, has anyone seen this? Is UBSan meant
> to run on AArch64?


We never tried, but there is very little platform dependent code in UBSan.


> Should we mark this test XFAIL until it can be
> looked at properly?
>

Ideally no, but if this is blocking you and there is no quick fix, please
add something like
XFAIL: aarch64 (not sure about the exact syntax)


>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150107/cfe3f734/attachment.html>


More information about the llvm-dev mailing list