summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-05-29 10:52:59 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-05-29 10:52:59 +0000
commit93aa8dfb783d80ef337993b21114ea03fd7a00bf (patch)
tree406834701a6f07dd483029175f184089643870f7 /compiler-rt
parent25ad5a6735055a0f3a78fe132328d9a3ac2b8fcb (diff)
downloadbcm5719-llvm-93aa8dfb783d80ef337993b21114ea03fd7a00bf.tar.gz
bcm5719-llvm-93aa8dfb783d80ef337993b21114ea03fd7a00bf.zip
[nolibc] Now that we have a custom allocator, remove dummy allocator
definitions from test. llvm-svn: 182841
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc4
1 files changed, 0 insertions, 4 deletions
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);
}
OpenPOWER on IntegriCloud