summaryrefslogtreecommitdiff
path: root/lib/asan/tests/asan_test.cc
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-18 13:24:03 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-18 13:24:03 +0000
commit91139010de99e701927320a23b37d849e26b0fca (patch)
tree322bf54d27684bb85bee986aa99d9b3ce4b677d3 /lib/asan/tests/asan_test.cc
parentd4fde7c7914583cad6c3f1934bb335f9ec0d8471 (diff)
[asan] Reenable tests that should pass since PR19207 is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_test.cc')
-rw-r--r--lib/asan/tests/asan_test.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc
index 978579819..bab686b71 100644
--- a/lib/asan/tests/asan_test.cc
+++ b/lib/asan/tests/asan_test.cc
@@ -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);