summaryrefslogtreecommitdiff
path: root/lib/hwasan/hwasan_interceptors.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-10-18 22:36:25 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-10-18 22:36:25 +0000
commit2d6eaa654777895937c52efb727a0a4cb753fe5b (patch)
tree3fa06ec171ec7037e3e1ef925b4b1e3b8aa5a69c /lib/hwasan/hwasan_interceptors.cpp
parent67ee8fcf65517112db0fd03ff2a9055a799fcb3d (diff)
downloadcompiler-rt-2d6eaa654777895937c52efb727a0a4cb753fe5b.tar.gz
[hwasan] Remove system allocator fallback.
Summary: This has been an experiment with late malloc interposition, made possible by a non-standard feature of the Android dynamic loader. Reviewers: pcc, mmalcomson Subscribers: srhines, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D69199 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@375296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/hwasan/hwasan_interceptors.cpp')
-rw-r--r--lib/hwasan/hwasan_interceptors.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/hwasan/hwasan_interceptors.cpp b/lib/hwasan/hwasan_interceptors.cpp
index 47fed0fc9..95e2e8657 100644
--- a/lib/hwasan/hwasan_interceptors.cpp
+++ b/lib/hwasan/hwasan_interceptors.cpp
@@ -260,8 +260,6 @@ void InitializeInterceptors() {
#if !defined(__aarch64__)
INTERCEPT_FUNCTION(pthread_create);
#endif // __aarch64__
- INTERCEPT_FUNCTION(realloc);
- INTERCEPT_FUNCTION(free);
#endif
inited = 1;