diff options
author | Davide Italiano <davide@freebsd.org> | 2017-10-24 23:31:53 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-10-24 23:31:53 +0000 |
commit | c6772687213fac1c0659a9aad4a05051f7ef4eb1 (patch) | |
tree | 5478489aefb04bb5c82c4a444fb101681a83edcb /lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | |
parent | 4a6dc65fcd37e13dc5700577be6b5ef88d8d25d0 (diff) | |
download | bcm5719-llvm-c6772687213fac1c0659a9aad4a05051f7ef4eb1.tar.gz bcm5719-llvm-c6772687213fac1c0659a9aad4a05051f7ef4eb1.zip |
[FreeBSD] Remove more dead code. NFCI.
llvm-svn: 316530
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp index 3046150e324..7a937db49be 100644 --- a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp @@ -825,32 +825,6 @@ uint32_t ProcessFreeBSD::UpdateThreadListIfNeeded() { return m_thread_list.GetSize(false); } -#if 0 -bool -ProcessFreeBSD::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_thread_list) -{ - Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD)); - if (log && log->GetMask().Test(POSIX_LOG_VERBOSE)) - log->Printf ("ProcessFreeBSD::%s() (pid = %" PRIi64 ")", __FUNCTION__, GetID()); - - bool has_updated = false; - // Update the process thread list with this new thread. - // FIXME: We should be using tid, not pid. - assert(m_monitor); - ThreadSP thread_sp (old_thread_list.FindThreadByID (GetID(), false)); - if (!thread_sp) { - thread_sp.reset(CreateNewFreeBSDThread(*this, GetID())); - has_updated = true; - } - - if (log && log->GetMask().Test(POSIX_LOG_VERBOSE)) - log->Printf ("ProcessFreeBSD::%s() updated pid = %" PRIi64, __FUNCTION__, GetID()); - new_thread_list.AddThread(thread_sp); - - return has_updated; // the list has been updated -} -#endif - ByteOrder ProcessFreeBSD::GetByteOrder() const { // FIXME: We should be able to extract this value directly. See comment in // ProcessFreeBSD(). |