forked from OSchip/llvm-project
[asan] remove the test for cfree. 'man cfree' says: 'This function should never be used.' and this function is not found on many OSes we support.
llvm-svn: 147301
This commit is contained in:
parent
dd1386f882
commit
5469986da0
|
@ -255,9 +255,6 @@ TEST(AddressSanitizer, VariousMallocsTest) {
|
|||
delete c;
|
||||
|
||||
#ifndef __APPLE__
|
||||
// cfree
|
||||
cfree(Ident(malloc(1)));
|
||||
|
||||
// fprintf(stderr, "posix_memalign\n");
|
||||
int *pm;
|
||||
int pm_res = posix_memalign((void**)&pm, kPageSize, kPageSize);
|
||||
|
|
Loading…
Reference in New Issue