[compiler-rt] r231782 - asan: fix leak test for power platform

Dmitry Vyukov dvyukov at google.com
Tue Mar 10 03:36:07 PDT 2015


Author: dvyukov
Date: Tue Mar 10 05:36:06 2015
New Revision: 231782

URL: http://llvm.org/viewvc/llvm-project?rev=231782&view=rev
Log:
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.


Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/leak_check_segv.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/leak_check_segv.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/leak_check_segv.cc?rev=231782&r1=231781&r2=231782&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/leak_check_segv.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/leak_check_segv.cc Tue Mar 10 05:36:06 2015
@@ -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>





More information about the llvm-commits mailing list