From 6c0850afa4431ff1ac6f2ef067603d008995a1dc Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Fri, 14 Sep 2012 08:57:50 +0000 Subject: [PATCH] Remove some debugging code. llvm-svn: 163881 --- compiler-rt/lib/asan/tests/asan_test.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc index e34c240aa726..3a67bd0c30d4 100644 --- a/compiler-rt/lib/asan/tests/asan_test.cc +++ b/compiler-rt/lib/asan/tests/asan_test.cc @@ -142,29 +142,24 @@ TEST(AddressSanitizer, SimpleDeathTest) { } TEST(AddressSanitizer, VariousMallocsTest) { - // fprintf(stderr, "malloc:\n"); int *a = (int*)malloc(100 * sizeof(int)); a[50] = 0; free(a); - // fprintf(stderr, "realloc:\n"); int *r = (int*)malloc(10); r = (int*)realloc(r, 2000 * sizeof(int)); r[1000] = 0; free(r); - // fprintf(stderr, "operator new []\n"); int *b = new int[100]; b[50] = 0; delete [] b; - // fprintf(stderr, "operator new\n"); int *c = new int; *c = 0; delete c; #if !defined(__APPLE__) && !defined(ANDROID) && !defined(__ANDROID__) - // fprintf(stderr, "posix_memalign\n"); int *pm; int pm_res = posix_memalign((void**)&pm, kPageSize, kPageSize); EXPECT_EQ(0, pm_res);