diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-09-14 08:57:50 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-09-14 08:57:50 +0000 |
commit | 78103db90782ca30593d7b1066b77792ca2f3459 (patch) | |
tree | d33ae087b5dc8b5f3c81a4548845a61518bbbce4 /lib | |
parent | 01167e89d77530d5d8507e1f0f1f2979a1497573 (diff) |
Remove some debugging code.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asan/tests/asan_test.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc index e34c240aa..3a67bd0c3 100644 --- a/lib/asan/tests/asan_test.cc +++ b/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); |