diff options
| author | Reid Kleckner <reid@kleckner.net> | 2015-07-21 17:42:37 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2015-07-21 17:42:37 +0000 |
| commit | 12f6b9c8c0eb6ac2290804a8a79ade8ea2c33019 (patch) | |
| tree | 37d5812dbc401167c0e8019f30305d93dc94e376 | |
| parent | 96a18a96cce2f411c883e36a0392d715e1348e49 (diff) | |
| download | bcm5719-llvm-12f6b9c8c0eb6ac2290804a8a79ade8ea2c33019.tar.gz bcm5719-llvm-12f6b9c8c0eb6ac2290804a8a79ade8ea2c33019.zip | |
[asan] Remove AsanPlatformThreadInit
Since the CoreFoundation allocator replacement was moved in r173134, all
implementations of this function have been empty.
Reviewers: samsonov
Differential Revision: http://reviews.llvm.org/D11375
llvm-svn: 242811
| -rw-r--r-- | compiler-rt/lib/asan/asan_internal.h | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_linux.cc | 4 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_mac.cc | 3 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_thread.cc | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_win.cc | 4 |
5 files changed, 0 insertions, 13 deletions
diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h index 107e16ee31b..b4d882147f8 100644 --- a/compiler-rt/lib/asan/asan_internal.h +++ b/compiler-rt/lib/asan/asan_internal.h @@ -80,7 +80,6 @@ void AsanOnSIGSEGV(int, void *siginfo, void *context); void DisableReexec(); void MaybeReexec(); void ReadContextStack(void *context, uptr *stack, uptr *ssize); -void AsanPlatformThreadInit(); void StopInitOrderChecking(); // Wrapper for TLS/TSD. diff --git a/compiler-rt/lib/asan/asan_linux.cc b/compiler-rt/lib/asan/asan_linux.cc index 9580fc7c06d..70f5d17084e 100644 --- a/compiler-rt/lib/asan/asan_linux.cc +++ b/compiler-rt/lib/asan/asan_linux.cc @@ -157,10 +157,6 @@ void AsanCheckIncompatibleRT() { } #endif // SANITIZER_ANDROID -void AsanPlatformThreadInit() { - // Nothing here for now. -} - #if !SANITIZER_ANDROID void ReadContextStack(void *context, uptr *stack, uptr *ssize) { ucontext_t *ucp = (ucontext_t*)context; diff --git a/compiler-rt/lib/asan/asan_mac.cc b/compiler-rt/lib/asan/asan_mac.cc index 3e028378df2..f8ee0366da9 100644 --- a/compiler-rt/lib/asan/asan_mac.cc +++ b/compiler-rt/lib/asan/asan_mac.cc @@ -244,9 +244,6 @@ void AsanCheckDynamicRTPrereqs() {} // No-op. Mac does not support static linkage anyway. void AsanCheckIncompatibleRT() {} -void AsanPlatformThreadInit() { -} - void ReadContextStack(void *context, uptr *stack, uptr *ssize) { UNIMPLEMENTED(); } diff --git a/compiler-rt/lib/asan/asan_thread.cc b/compiler-rt/lib/asan/asan_thread.cc index 9af5706d86d..d135b7b9da2 100644 --- a/compiler-rt/lib/asan/asan_thread.cc +++ b/compiler-rt/lib/asan/asan_thread.cc @@ -161,7 +161,6 @@ void AsanThread::Init() { VReport(1, "T%d: stack [%p,%p) size 0x%zx; local=%p\n", tid(), (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, &local); - AsanPlatformThreadInit(); } thread_return_t AsanThread::ThreadStart( diff --git a/compiler-rt/lib/asan/asan_win.cc b/compiler-rt/lib/asan/asan_win.cc index addb3d40a69..9d241aa918b 100644 --- a/compiler-rt/lib/asan/asan_win.cc +++ b/compiler-rt/lib/asan/asan_win.cc @@ -194,10 +194,6 @@ void AsanCheckDynamicRTPrereqs() {} void AsanCheckIncompatibleRT() {} -void AsanPlatformThreadInit() { - // Nothing here for now. -} - void ReadContextStack(void *context, uptr *stack, uptr *ssize) { UNIMPLEMENTED(); } |

