From 93aa8dfb783d80ef337993b21114ea03fd7a00bf Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 29 May 2013 10:52:59 +0000 Subject: [nolibc] Now that we have a custom allocator, remove dummy allocator definitions from test. llvm-svn: 182841 --- compiler-rt/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler-rt/lib') diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc index 7a40ab83d35..72df621d07f 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc @@ -14,10 +14,6 @@ #include "sanitizer_common/sanitizer_libc.h" -// TODO(pcc): Remove these once the allocator dependency is gone. -extern "C" void *__libc_malloc() { return 0; } -extern "C" void __libc_free(void *p) {} - extern "C" void _start() { internal__exit(0); } -- cgit v1.2.3