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
This commit is contained in:
Dmitry Vyukov 2015-03-10 10:36:06 +00:00
parent d39f11c026
commit 2d78c6371d
1 changed files with 1 additions and 1 deletions

View File

@ -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>