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:
parent
d39f11c026
commit
2d78c6371d
|
|
@ -1,6 +1,6 @@
|
||||||
// Test that SIGSEGV during leak checking does not crash the process.
|
// 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
|
// 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 <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue