summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-03-10 10:36:06 +0000
committerDmitry Vyukov <dvyukov@google.com>2015-03-10 10:36:06 +0000
commit2d78c6371db95ed196d1e09bcf96a92b293f204c (patch)
tree47fb862c47dd0506abcf31ebbccaa2331628e49d
parentd39f11c02670634f3bb4dae6499853d4704c242e (diff)
downloadbcm5719-llvm-2d78c6371db95ed196d1e09bcf96a92b293f204c.tar.gz
bcm5719-llvm-2d78c6371db95ed196d1e09bcf96a92b293f204c.zip
asan: fix leak test for power platform
Power is 64-bit but does not support leak detection, so this test fails. Use the more robust leak-detection predicate instead. llvm-svn: 231782
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/leak_check_segv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/leak_check_segv.cc b/compiler-rt/test/asan/TestCases/Linux/leak_check_segv.cc
index f026844e4a3..8160d5fe56b 100644
--- a/compiler-rt/test/asan/TestCases/Linux/leak_check_segv.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/leak_check_segv.cc
@@ -1,6 +1,6 @@
// Test that SIGSEGV during leak checking does not crash the process.
// RUN: %clangxx_asan -O1 %s -o %t && LSAN_OPTIONS="verbosity=1" not %run %t 2>&1
-// REQUIRES: asan-64-bits
+// REQUIRES: leak-detection
#include <stdlib.h>
#include <stdio.h>
#include <sys/mman.h>
OpenPOWER on IntegriCloud