Skip to content

Commit

Permalink
Revert "Temporarily disable the following failing tests on Darwin:"
Browse files Browse the repository at this point in the history
This reverts commit f3a0895.

888951a introduced a fix that
should make the disabled tests work again.

rdar://problem/62141412
  • Loading branch information
delcypher committed Jul 7, 2020
1 parent 888951a commit 8a8d6e2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions compiler-rt/lib/asan/tests/asan_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,6 @@ NOINLINE void TouchStackFunc() {
A[i] = i*i;
}

// Disabled due to rdar://problem/62141412
#if !(defined(__APPLE__) && defined(__i386__))

// Test that we handle longjmp and do not report false positives on stack.
TEST(AddressSanitizer, LongJmpTest) {
static jmp_buf buf;
Expand All @@ -600,7 +597,6 @@ TEST(AddressSanitizer, LongJmpTest) {
TouchStackFunc();
}
}
#endif

#if !defined(_WIN32) // Only basic longjmp is available on Windows.
NOINLINE void UnderscopeLongJmpFunc1(jmp_buf buf) {
Expand Down Expand Up @@ -662,8 +658,6 @@ TEST(AddressSanitizer, UnderscopeLongJmpTest) {
}
}

// Disabled due to rdar://problem/62141412
#if !(defined(__APPLE__) && defined(__i386__))
TEST(AddressSanitizer, SigLongJmpTest) {
static sigjmp_buf buf;
if (!sigsetjmp(buf, 1)) {
Expand All @@ -674,8 +668,6 @@ TEST(AddressSanitizer, SigLongJmpTest) {
}
#endif

#endif

// FIXME: Why does clang-cl define __EXCEPTIONS?
#if defined(__EXCEPTIONS) && !defined(_WIN32)
NOINLINE void ThrowFunc() {
Expand Down

0 comments on commit 8a8d6e2

Please sign in to comment.