[PATCH] D11375: [asan] Remove AsanPlatformThreadInit
Reid Kleckner
rnk at google.com
Tue Jul 21 10:43:11 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL242811: [asan] Remove AsanPlatformThreadInit (authored by rnk).
Changed prior to commit:
http://reviews.llvm.org/D11375?vs=30212&id=30270#toc
Repository:
rL LLVM
http://reviews.llvm.org/D11375
Files:
compiler-rt/trunk/lib/asan/asan_internal.h
compiler-rt/trunk/lib/asan/asan_linux.cc
compiler-rt/trunk/lib/asan/asan_mac.cc
compiler-rt/trunk/lib/asan/asan_thread.cc
compiler-rt/trunk/lib/asan/asan_win.cc
Index: compiler-rt/trunk/lib/asan/asan_mac.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_mac.cc
+++ compiler-rt/trunk/lib/asan/asan_mac.cc
@@ -244,9 +244,6 @@
// No-op. Mac does not support static linkage anyway.
void AsanCheckIncompatibleRT() {}
-void AsanPlatformThreadInit() {
-}
-
void ReadContextStack(void *context, uptr *stack, uptr *ssize) {
UNIMPLEMENTED();
}
Index: compiler-rt/trunk/lib/asan/asan_linux.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_linux.cc
+++ compiler-rt/trunk/lib/asan/asan_linux.cc
@@ -157,10 +157,6 @@
}
#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;
Index: compiler-rt/trunk/lib/asan/asan_win.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc
+++ compiler-rt/trunk/lib/asan/asan_win.cc
@@ -194,10 +194,6 @@
void AsanCheckIncompatibleRT() {}
-void AsanPlatformThreadInit() {
- // Nothing here for now.
-}
-
void ReadContextStack(void *context, uptr *stack, uptr *ssize) {
UNIMPLEMENTED();
}
Index: compiler-rt/trunk/lib/asan/asan_internal.h
===================================================================
--- compiler-rt/trunk/lib/asan/asan_internal.h
+++ compiler-rt/trunk/lib/asan/asan_internal.h
@@ -80,7 +80,6 @@
void DisableReexec();
void MaybeReexec();
void ReadContextStack(void *context, uptr *stack, uptr *ssize);
-void AsanPlatformThreadInit();
void StopInitOrderChecking();
// Wrapper for TLS/TSD.
Index: compiler-rt/trunk/lib/asan/asan_thread.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_thread.cc
+++ compiler-rt/trunk/lib/asan/asan_thread.cc
@@ -161,7 +161,6 @@
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(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11375.30270.patch
Type: text/x-patch
Size: 2217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150721/47e36257/attachment.bin>
More information about the llvm-commits
mailing list