[Lldb-commits] [PATCH] D77450: Fix LLDB debug builds

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 18:58:06 PDT 2020


wallace created this revision.
wallace added reviewers: clayborg, labath, jingham.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77450

Files:
  lldb/source/Target/ThreadPlan.cpp


Index: lldb/source/Target/ThreadPlan.cpp
===================================================================
--- lldb/source/Target/ThreadPlan.cpp
+++ lldb/source/Target/ThreadPlan.cpp
@@ -240,7 +240,7 @@
   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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77450.254977.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200404/5410cecc/attachment-0001.bin>


More information about the lldb-commits mailing list