[llvm-commits] [compiler-rt] r147301 - /compiler-rt/trunk/lib/asan/tests/asan_test.cc

Kostya Serebryany kcc at google.com
Tue Dec 27 15:42:56 PST 2011


Author: kcc
Date: Tue Dec 27 17:42:55 2011
New Revision: 147301

URL: http://llvm.org/viewvc/llvm-project?rev=147301&view=rev
Log:
[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.

Modified:
    compiler-rt/trunk/lib/asan/tests/asan_test.cc

Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=147301&r1=147300&r2=147301&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Tue Dec 27 17:42:55 2011
@@ -255,9 +255,6 @@
   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);





More information about the llvm-commits mailing list