We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87dc2b commit 23abc04Copy full SHA for 23abc04
lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
@@ -192,6 +192,7 @@ const char *TargetThreadWindows::GetName() {
192
if (SUCCEEDED(GetThreadDescription(
193
m_host_thread.GetNativeThread().GetSystemHandle(), &pszThreadName))) {
194
LLDB_LOGF(log, "GetThreadDescription: %ls", pszThreadName);
195
+ m_name.clear();
196
llvm::convertUTF16ToUTF8String(
197
llvm::ArrayRef(reinterpret_cast<char *>(pszThreadName),
198
wcslen(pszThreadName) * sizeof(wchar_t)),
0 commit comments