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.
2 parents 140bf2f + f9f5690 commit df7f870Copy full SHA for df7f870
lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
@@ -191,6 +191,7 @@ const char *TargetThreadWindows::GetName() {
191
if (SUCCEEDED(GetThreadDescription(
192
m_host_thread.GetNativeThread().GetSystemHandle(), &pszThreadName))) {
193
LLDB_LOGF(log, "GetThreadDescription: %ls", pszThreadName);
194
+ m_name.clear();
195
llvm::convertUTF16ToUTF8String(
196
llvm::ArrayRef(reinterpret_cast<char *>(pszThreadName),
197
wcslen(pszThreadName) * sizeof(wchar_t)),
0 commit comments