[Lldb-commits] [lldb] [lldb-server][Windows] add support for thread name (PR #199983)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu May 28 03:19:58 PDT 2026


================
@@ -99,17 +101,25 @@ Status NativeThreadWindows::DoResume(lldb::StateType resume_state) {
 }
 
 std::string NativeThreadWindows::GetName() {
-  if (!m_name.empty())
+  Log *log = GetLog(LLDBLog::Thread);
+  static LazyImport<HRESULT(WINAPI *)(HANDLE, PWSTR *)> kGetThreadDescription{
----------------
DavidSpickett wrote:

And lldb-server is only connected to one process at a time anyway.

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


More information about the lldb-commits mailing list