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;
TouchStackFunc();
}
}
-#endif
#if !defined(_WIN32) // Only basic longjmp is available on Windows.
NOINLINE void UnderscopeLongJmpFunc1(jmp_buf buf) {
}
}
-// Disabled due to rdar://problem/62141412
-#if !(defined(__APPLE__) && defined(__i386__))
TEST(AddressSanitizer, SigLongJmpTest) {
static sigjmp_buf buf;
if (!sigsetjmp(buf, 1)) {
}
#endif
-#endif
-
// FIXME: Why does clang-cl define __EXCEPTIONS?
#if defined(__EXCEPTIONS) && !defined(_WIN32)
NOINLINE void ThrowFunc() {