[ASan] Disable aligned_alloc-alignment.cc on Android.

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

llvm-svn: 328734
This commit is contained in:
Alex Shlyapnikov 2018-03-28 22:00:08 +00:00
parent e86c7956d6
commit b276621d3d
1 changed files with 3 additions and 1 deletions

View File

@ -2,10 +2,12 @@
// RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
// RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
// UNSUPPORTED: android
#include <stdio.h>
#include <stdlib.h>
extern void *aligned_alloc (size_t alignment, size_t size);
extern void *aligned_alloc(size_t alignment, size_t size);
int main() {
void *p = aligned_alloc(17, 100);