[Lldb-commits] [lldb] [lldb] Simplify macOS thread name fetching. (PR #111684)

Donough Liu via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 9 11:46:35 PDT 2024


================
@@ -265,6 +264,25 @@ bool MachThread::GetBasicInfo(thread_t thread,
   return false;
 }
 
+struct thread_extended_info *MachThread::GetExtendedInfo() {
+  if (MachThread::GetExtendedInfo(m_mach_port_number, &m_extended_info))
+    return &m_extended_info;
+  return NULL;
+}
+
+bool MachThread::GetExtendedInfo(thread_t thread,
+                                 struct thread_extended_info *basicInfoPtr) {
----------------
ldm0 wrote:

fixed

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


More information about the lldb-commits mailing list