[LLVMdev] UBSAN - Test failures

Evgeniy Stepanov eugenis at google.com
Thu Oct 9 01:35:37 PDT 2014


Do you mean they XPASS now?
I think you need to define more "features" in lit to match against.
See how we define "asan-static-runtime" and "asan-dynamic-runtime",
for example. We might need the full set of asan-$arch, ubsan-$arch,
asan-ubsan-$arch.

On Wed, Oct 8, 2014 at 7:07 PM, Renato Golin <renato.golin at linaro.org> wrote:
> Hi Evgeniy,
>
> So, to XFAIL some UBSAN failues, I found an issue:
>
>     UndefinedBehaviorSanitizer-AddressSanitizer :: TestCases/TypeCheck/vptr.cpp
>     UndefinedBehaviorSanitizer-Standalone :: TestCases/Misc/missing_return.cpp
>
> These two tests fail on that configuration, but pass when reversed.
> So, if I XFAIL: armv7l..., I get the following error:
>
>     UndefinedBehaviorSanitizer-AddressSanitizer ::
> TestCases/Misc/missing_return.cpp
>     UndefinedBehaviorSanitizer-Standalone :: TestCases/TypeCheck/vptr.cpp
>
> Not sure how to state that the XFAIL is for a specific configuration...
>
> cheers,
> --renato



More information about the llvm-dev mailing list