[Lldb-commits] [lldb] 9661225 - Fix LLDB debug builds

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 19:49:52 PDT 2020


Author: Walter Erquinigo
Date: 2020-04-03T19:49:38-07:00
New Revision: 966122524b562aab42e7afc8f44c23ea105b27f3

URL: https://github.com/llvm/llvm-project/commit/966122524b562aab42e7afc8f44c23ea105b27f3
DIFF: https://github.com/llvm/llvm-project/commit/966122524b562aab42e7afc8f44c23ea105b27f3.diff

LOG: Fix LLDB debug builds

Summary:
A recent change in ThreadPlans introduced this little compilation error.
Seems to be related to the work around https://reviews.llvm.org/D76814.

Reviewers: clayborg, labath, jingham

Reviewed By: jingham

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77450

Added: 
    

Modified: 
    lldb/source/Target/ThreadPlan.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Target/ThreadPlan.cpp b/lldb/source/Target/ThreadPlan.cpp
index b3ff3232a0ac..d8e92b8fd0de 100644
--- a/lldb/source/Target/ThreadPlan.cpp
+++ b/lldb/source/Target/ThreadPlan.cpp
@@ -240,7 +240,7 @@ bool ThreadPlanNull::DoPlanExplainsStop(Event *event_ptr) {
   fprintf(stderr,
           "error: %s called on thread that has been destroyed (tid = 0x%" PRIx64
           ", ptid = 0x%" PRIx64 ")",
-          LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID());
+          LLVM_PRETTY_FUNCTION, GetThread().GetID(), GetThread().GetProtocolID());
 #else
   Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_THREAD));
   if (log)


        


More information about the lldb-commits mailing list