[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

llvm-svn: 310133
This commit is contained in:
Kostya Kortchinsky 2017-08-04 21:26:20 +00:00
parent 3f3aad235d
commit a53de0bf0f
1 changed files with 1 additions and 1 deletions

View File

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