UBSAN - Test failures

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

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.

Do you mean they XPASS now?

Yes.

I think you need to define more "features" in lit to match against.

I thought about this, and I think we should try to fix it first, and
only increment the XFAIL granularity if indeed we can't fix it.

I'll send another email with the three remaining classes of problems...

cheers,
--renato