Disable failing ASAN LongJump test on ARM
authorRenato Golin <renato.golin@linaro.org>
Tue, 14 Oct 2014 12:24:28 +0000 (12:24 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 14 Oct 2014 12:24:28 +0000 (12:24 +0000)
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

compiler-rt/lib/asan/tests/asan_test.cc

index d36bcac..85eb97e 100644 (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;