[compiler-rt] r219680 - Disable failing ASAN LongJump test on ARM

Renato Golin renato.golin at linaro.org
Tue Oct 14 05:24:28 PDT 2014


Author: rengolin
Date: Tue Oct 14 07:24:28 2014
New Revision: 219680

URL: http://llvm.org/viewvc/llvm-project?rev=219680&view=rev
Log:
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.

Modified:
    compiler-rt/trunk/lib/asan/tests/asan_test.cc

Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=219680&r1=219679&r2=219680&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Tue Oct 14 07:24:28 2014
@@ -602,9 +602,9 @@ NOINLINE void SigLongJmpFunc1(sigjmp_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, BuiltinLongJmpTes
   }
 }
 #endif  // !defined(__ANDROID__) && !defined(__powerpc64__) &&
-        // !defined(__powerpc__)
+        // !defined(__powerpc__) && !defined(__arm__)
 
 TEST(AddressSanitizer, UnderscopeLongJmpTest) {
   static jmp_buf buf;





More information about the llvm-commits mailing list