[Lldb-commits] [lldb] [lldb] Fix comment in ~Thread (NFC) (PR #116850)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 19 09:49:13 PST 2024


https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/116850

None

>From f7462578ac8e5977310279ea8f9f01f01bbcedcd Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Mon, 18 Nov 2024 16:21:18 -0800
Subject: [PATCH] [lldb] Fix comment in ~Thread (NFC)

---
 lldb/source/Target/Thread.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 735295e6f25937..fb17276051909c 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -244,7 +244,7 @@ Thread::~Thread() {
   LLDB_LOGF(log, "%p Thread::~Thread(tid = 0x%4.4" PRIx64 ")",
             static_cast<void *>(this), GetID());
   /// If you hit this assert, it means your derived class forgot to call
-  /// DoDestroy in its destructor.
+  /// DestroyThread in its destructor.
   assert(m_destroy_called);
 }
 



More information about the lldb-commits mailing list