[compiler-rt] r310133 - [asan] Fix unsupported test on Android

Kostya Kortchinsky via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 14:26:20 PDT 2017


Author: cryptoad
Date: Fri Aug  4 14:26:20 2017
New Revision: 310133

URL: http://llvm.org/viewvc/llvm-project?rev=310133&view=rev
Log:
[asan] Fix unsupported test on Android

Summary:
`pvalloc` appears to not be available on Android. Mark the failing test as
unsupported on that platform.

Reviewers: alekseyshl, vitalybuka

Reviewed By: alekseyshl, vitalybuka

Subscribers: srhines, kubamracek, llvm-commits

Differential Revision: https://reviews.llvm.org/D36339

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

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc?rev=310133&r1=310132&r2=310133&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc Fri Aug  4 14:26:20 2017
@@ -4,7 +4,7 @@
 // RUN: ASAN_OPTIONS=allocator_may_return_null=0 not %run %t psm1 2>&1 | FileCheck %s
 // RUN: ASAN_OPTIONS=allocator_may_return_null=1     %run %t psm1 2>&1
 
-// UNSUPPORTED: freebsd
+// UNSUPPORTED: freebsd, android
 
 // Checks that pvalloc overflows are caught. If the allocator is allowed to
 // return null, the errno should be set to ENOMEM.




More information about the llvm-commits mailing list