[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 07:30:50 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 this DLL being kernel32.dll, anyone trying to unload that is asking for trouble. Understood.
https://github.com/llvm/llvm-project/pull/199983
More information about the lldb-commits
mailing list