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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Dave Lee (kastiglione)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/116850.diff


1 Files Affected:

- (modified) lldb/source/Target/Thread.cpp (+1-1) 


``````````diff
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);
 }
 

``````````

</details>


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


More information about the lldb-commits mailing list