@@ -126,6 +127,8 @@ class MachThread {
protected:
static bool GetBasicInfo(thread_t threadID,
struct thread_basic_info *basic_info);
+ static bool GetExtendedInfo(thread_t threadID,
+ struct thread_extended_info *extend
https://github.com/ldm0 updated https://github.com/llvm/llvm-project/pull/111684
>From c700dd4b5bf5009b934d259becddab9fc10b9cb2 Mon Sep 17 00:00:00 2001
From: Liu Dingming
Date: Wed, 9 Oct 2024 21:57:24 +0800
Subject: [PATCH] [lldb] Simplify macOS thread name fetching.
Remove unnecessary `proc_
https://github.com/ldm0 updated https://github.com/llvm/llvm-project/pull/111684
>From 09a65dc9729938d5920174cac180164a8e3eb7a2 Mon Sep 17 00:00:00 2001
From: Liu Dingming
Date: Wed, 9 Oct 2024 21:57:24 +0800
Subject: [PATCH] [lldb] Simplify macOS thread name fetching.
Remove unnecessary `proc_
https://github.com/ldm0 edited https://github.com/llvm/llvm-project/pull/111684
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -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;
+}
+
+boo
https://github.com/ldm0 updated https://github.com/llvm/llvm-project/pull/111684
>From aefa120446a4c31fe9569d76ae3950c29d8d35e9 Mon Sep 17 00:00:00 2001
From: Liu Dingming
Date: Wed, 9 Oct 2024 21:57:24 +0800
Subject: [PATCH] [lldb] Simplify macOS thread name fetching (NFC)
Remove unnecessary `
ldm0 wrote:
> I asked some folks who know and the proc_pidinfo call and the
> extended_thread_info read the same data, so this should be NFC...
Yes, this PR does not intend to change the behavior:
[`thread_info`](https://github.com/apple/darwin-xnu/blob/a1babec6b135d1f35b2590a1990af3c5c5393479
https://github.com/ldm0 created https://github.com/llvm/llvm-project/pull/111684
Remove unnecessary `proc_pidinfo` calling.
>From e8432f711822d605b5136574967f7c7f133dfe73 Mon Sep 17 00:00:00 2001
From: Liu Dingming
Date: Wed, 9 Oct 2024 21:57:24 +0800
Subject: [PATCH] [lldb] Simplify macOS thre
https://github.com/ldm0 updated https://github.com/llvm/llvm-project/pull/111684
>From 8573fde9b7ffa035b2ee9da132c910515a6d1d26 Mon Sep 17 00:00:00 2001
From: Liu Dingming
Date: Wed, 9 Oct 2024 21:57:24 +0800
Subject: [PATCH] [lldb] Simplify macOS thread name fetching (NFC)
Remove unnecessary `
https://github.com/ldm0 edited https://github.com/llvm/llvm-project/pull/111684
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
10 matches
Mail list logo