summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2011-12-27 23:42:55 +0000
committerKostya Serebryany <kcc@google.com>2011-12-27 23:42:55 +0000
commit5469986da0e45aac94de2b28f0d49b54622c2bc9 (patch)
tree89f11e8ba151f124c43ce692dc125ed8f7d96fc4
parentdd1386f8822f9b8a5b345cf7884be6eebbd37457 (diff)
downloadbcm5719-llvm-5469986da0e45aac94de2b28f0d49b54622c2bc9.tar.gz
bcm5719-llvm-5469986da0e45aac94de2b28f0d49b54622c2bc9.zip
[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
-rw-r--r--compiler-rt/lib/asan/tests/asan_test.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc
index 7a9645443f3..b924a30a941 100644
--- a/compiler-rt/lib/asan/tests/asan_test.cc
+++ b/compiler-rt/lib/asan/tests/asan_test.cc
@@ -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);
OpenPOWER on IntegriCloud