[llvm-commits] [compiler-rt] r168872 - /compiler-rt/trunk/lib/asan/tests/asan_test.cc

Kostya Serebryany kcc at google.com
Thu Nov 29 04:18:48 PST 2012


Author: kcc
Date: Thu Nov 29 06:18:48 2012
New Revision: 168872

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

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=168872&r1=168871&r2=168872&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Thu Nov 29 06:18:48 2012
@@ -688,6 +688,7 @@
   }
 }
 
+#if not defined(__ANDROID__)
 TEST(AddressSanitizer, BuiltinLongJmpTest) {
   static jmp_buf buf;
   if (!__builtin_setjmp((void**)buf)) {
@@ -696,6 +697,7 @@
     TouchStackFunc();
   }
 }
+#endif  // not defined(__ANDROID__)
 
 TEST(AddressSanitizer, UnderscopeLongJmpTest) {
   static jmp_buf buf;





More information about the llvm-commits mailing list