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 d7ef528 + fee619f commit fd3b4acCopy full SHA for fd3b4ac
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