[asan] Reenable tests that should pass since PR19207 is fixed.

llvm-svn: 206593
This commit is contained in:
Evgeniy Stepanov 2014-04-18 13:24:03 +00:00
parent 0dbdfb8522
commit 561c4db707
1 changed files with 3 additions and 5 deletions

View File

@ -565,10 +565,8 @@ 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, DISABLED_LongJmpTest) {
TEST(AddressSanitizer, LongJmpTest) {
static jmp_buf buf;
if (!setjmp(buf)) {
LongJmpFunc1(buf);
@ -592,7 +590,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) {
#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
// !defined(__powerpc__)
TEST(AddressSanitizer, DISABLED_UnderscopeLongJmpTest) {
TEST(AddressSanitizer, UnderscopeLongJmpTest) {
static jmp_buf buf;
if (!_setjmp(buf)) {
UnderscopeLongJmpFunc1(buf);
@ -601,7 +599,7 @@ TEST(AddressSanitizer, DISABLED_UnderscopeLongJmpTest) {
}
}
TEST(AddressSanitizer, DISABLED_SigLongJmpTest) {
TEST(AddressSanitizer, SigLongJmpTest) {
static sigjmp_buf buf;
if (!sigsetjmp(buf, 1)) {
SigLongJmpFunc1(buf);