[compiler-rt] r181890 - [asan] disable BuiltinLongJmpTest on PowerPC

Kostya Serebryany kcc at google.com
Wed May 15 08:01:15 PDT 2013


Author: kcc
Date: Wed May 15 10:01:14 2013
New Revision: 181890

URL: http://llvm.org/viewvc/llvm-project?rev=181890&view=rev
Log:
[asan] disable BuiltinLongJmpTest on PowerPC

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=181890&r1=181889&r2=181890&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Wed May 15 10:01:14 2013
@@ -567,7 +567,10 @@ TEST(AddressSanitizer, LongJmpTest) {
   }
 }
 
-#if not defined(__ANDROID__)
+#if !defined(__ANDROID__) && \
+    !defined(__powerpc64__) && !defined(__powerpc__)
+// Does not work on Power:
+// https://code.google.com/p/address-sanitizer/issues/detail?id=185
 TEST(AddressSanitizer, BuiltinLongJmpTest) {
   static jmp_buf buf;
   if (!__builtin_setjmp((void**)buf)) {





More information about the llvm-commits mailing list