commit | 5aac3a6caad7bd3c82050db13a37eb1a3808b5ac | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed May 29 10:52:59 2013 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Wed May 29 10:52:59 2013 +0000 |
tree | 526fc678c64e5bdb7757ca7691cdd88bd30c8a93 | |
parent | 845abaf0e3287a6abb1c6b6200d4e6b96896f929 [diff] |
[nolibc] Now that we have a custom allocator, remove dummy allocator definitions from test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182841 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc b/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc index 7a40ab8..72df621 100644 --- a/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc +++ b/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); }