Disable failing ASAN LongJump test on ARM

Updated the URL to reflect information on the problem as well as build the
case for ARM. This seems to be a wider problem, not ARM or PPC specific.

llvm-svn: 219680
This commit is contained in:
Renato Golin 2014-10-14 12:24:28 +00:00
parent b454930cda
commit 3743568735
1 changed files with 3 additions and 3 deletions

View File

@ -602,9 +602,9 @@ NOINLINE void SigLongJmpFunc1(sigjmp_buf buf) {
siglongjmp(buf, 1);
}
#if !defined(__ANDROID__) && \
#if !defined(__ANDROID__) && !defined(__arm__) \
!defined(__powerpc64__) && !defined(__powerpc__)
// Does not work on Power:
// Does not work on Power and ARM:
// https://code.google.com/p/address-sanitizer/issues/detail?id=185
TEST(AddressSanitizer, BuiltinLongJmpTest) {
static jmp_buf buf;
@ -615,7 +615,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) {
}
}
#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
// !defined(__powerpc__)
// !defined(__powerpc__) && !defined(__arm__)
TEST(AddressSanitizer, UnderscopeLongJmpTest) {
static jmp_buf buf;