From e73a48097045db12657db76af5a1a80911b846b2 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 29 Nov 2012 09:02:14 +0000 Subject: [PATCH] [asan] enable BuiltinLongJmpTest llvm-svn: 168863 --- compiler-rt/lib/asan/tests/asan_test.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc index 6d76b0d..1296069a4 100644 --- a/compiler-rt/lib/asan/tests/asan_test.cc +++ b/compiler-rt/lib/asan/tests/asan_test.cc @@ -688,10 +688,9 @@ TEST(AddressSanitizer, LongJmpTest) { } } -// http://code.google.com/p/address-sanitizer/issues/detail?id=129 -TEST(AddressSanitizer, DISABLED_BuiltinLongJmpTest) { +TEST(AddressSanitizer, BuiltinLongJmpTest) { static jmp_buf buf; - if (!setjmp(buf)) { + if (!__builtin_setjmp((void**)buf)) { BuiltinLongJmpFunc1(buf); } else { TouchStackFunc(); -- 2.7.4