[compiler-rt] r204590 - [asan] Disable setjmp/sigsetjmp tests.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Mon Mar 24 01:30:59 PDT 2014
Author: eugenis
Date: Mon Mar 24 03:30:59 2014
New Revision: 204590
URL: http://llvm.org/viewvc/llvm-project?rev=204590&view=rev
Log:
[asan] Disable setjmp/sigsetjmp tests.
Failing due to PR19207.
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=204590&r1=204589&r2=204590&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Mon Mar 24 03:30:59 2014
@@ -565,8 +565,10 @@ NOINLINE void TouchStackFunc() {
A[i] = i*i;
}
+// 3 tests below are disabled due to http://llvm.org/bugs/show_bug.cgi?id=19207
+
// Test that we handle longjmp and do not report false positives on stack.
-TEST(AddressSanitizer, LongJmpTest) {
+TEST(AddressSanitizer, DISABLED_LongJmpTest) {
static jmp_buf buf;
if (!setjmp(buf)) {
LongJmpFunc1(buf);
@@ -590,7 +592,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTes
#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
// !defined(__powerpc__)
-TEST(AddressSanitizer, UnderscopeLongJmpTest) {
+TEST(AddressSanitizer, DISABLED_UnderscopeLongJmpTest) {
static jmp_buf buf;
if (!_setjmp(buf)) {
UnderscopeLongJmpFunc1(buf);
@@ -599,7 +601,7 @@ TEST(AddressSanitizer, UnderscopeLongJmp
}
}
-TEST(AddressSanitizer, SigLongJmpTest) {
+TEST(AddressSanitizer, DISABLED_SigLongJmpTest) {
static sigjmp_buf buf;
if (!sigsetjmp(buf, 1)) {
SigLongJmpFunc1(buf);
More information about the llvm-commits
mailing list