[asan] Reenable tests that should pass since PR19207 is fixed.
llvm-svn: 206593
This commit is contained in:
parent
0dbdfb8522
commit
561c4db707
|
@ -565,10 +565,8 @@ NOINLINE void TouchStackFunc() {
|
||||||
A[i] = i*i;
|
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 that we handle longjmp and do not report false positives on stack.
|
||||||
TEST(AddressSanitizer, DISABLED_LongJmpTest) {
|
TEST(AddressSanitizer, LongJmpTest) {
|
||||||
static jmp_buf buf;
|
static jmp_buf buf;
|
||||||
if (!setjmp(buf)) {
|
if (!setjmp(buf)) {
|
||||||
LongJmpFunc1(buf);
|
LongJmpFunc1(buf);
|
||||||
|
@ -592,7 +590,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) {
|
||||||
#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
|
#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
|
||||||
// !defined(__powerpc__)
|
// !defined(__powerpc__)
|
||||||
|
|
||||||
TEST(AddressSanitizer, DISABLED_UnderscopeLongJmpTest) {
|
TEST(AddressSanitizer, UnderscopeLongJmpTest) {
|
||||||
static jmp_buf buf;
|
static jmp_buf buf;
|
||||||
if (!_setjmp(buf)) {
|
if (!_setjmp(buf)) {
|
||||||
UnderscopeLongJmpFunc1(buf);
|
UnderscopeLongJmpFunc1(buf);
|
||||||
|
@ -601,7 +599,7 @@ TEST(AddressSanitizer, DISABLED_UnderscopeLongJmpTest) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(AddressSanitizer, DISABLED_SigLongJmpTest) {
|
TEST(AddressSanitizer, SigLongJmpTest) {
|
||||||
static sigjmp_buf buf;
|
static sigjmp_buf buf;
|
||||||
if (!sigsetjmp(buf, 1)) {
|
if (!sigsetjmp(buf, 1)) {
|
||||||
SigLongJmpFunc1(buf);
|
SigLongJmpFunc1(buf);
|
||||||
|
|
Loading…
Reference in New Issue