diff options
Diffstat (limited to 'contrib/compiler-rt/lib/msan/msan_thread.cc')
-rw-r--r-- | contrib/compiler-rt/lib/msan/msan_thread.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/contrib/compiler-rt/lib/msan/msan_thread.cc b/contrib/compiler-rt/lib/msan/msan_thread.cc index f29a4b053a36..e15a247c6bb8 100644 --- a/contrib/compiler-rt/lib/msan/msan_thread.cc +++ b/contrib/compiler-rt/lib/msan/msan_thread.cc @@ -79,15 +79,4 @@ thread_return_t MsanThread::ThreadStart() { return res; } -MsanThread *GetCurrentThread() { - return reinterpret_cast<MsanThread *>(MsanTSDGet()); -} - -void SetCurrentThread(MsanThread *t) { - // Make sure we do not reset the current MsanThread. - CHECK_EQ(0, MsanTSDGet()); - MsanTSDSet(t); - CHECK_EQ(t, MsanTSDGet()); -} - } // namespace __msan |