forked from OSchip/llvm-project
[ASan] Disable aligned_alloc-alignment.cc on Android.
Differential Revision: https://reviews.llvm.org/D44404 llvm-svn: 328734
This commit is contained in:
parent
e86c7956d6
commit
b276621d3d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue