[all-commits] [llvm/llvm-project] 95e583: [lldb] add support for thread names on Windows (#7...
oltolm via All-commits
all-commits at lists.llvm.org
Thu Dec 21 04:42:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95e5839e06fdffd278499257c6e7679bba3d6868
https://github.com/llvm/llvm-project/commit/95e5839e06fdffd278499257c6e7679bba3d6868
Author: oltolm <oleg.tolmatcev at gmail.com>
Date: 2023-12-21 (Thu, 21 Dec 2023)
Changed paths:
M lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
M lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.h
M lldb/unittests/Thread/CMakeLists.txt
M lldb/unittests/Thread/ThreadTest.cpp
Log Message:
-----------
[lldb] add support for thread names on Windows (#74731)
This PR adds support for thread names in lldb on Windows.
```
(lldb) thr list
Process 2960 stopped
thread #53: tid = 0x03a0, 0x00007ff84582db34 ntdll.dll`NtWaitForMultipleObjects + 20
thread #29: tid = 0x04ec, 0x00007ff845830a14 ntdll.dll`NtWaitForAlertByThreadId + 20, name = 'SPUW.6'
thread #89: tid = 0x057c, 0x00007ff845830a14 ntdll.dll`NtWaitForAlertByThreadId + 20, name = 'PPU[0x1000019] physics[main]'
thread #3: tid = 0x0648, 0x00007ff843c2cafe combase.dll`InternalDoATClassCreate + 39518
thread #93: tid = 0x0688, 0x00007ff845830a14 ntdll.dll`NtWaitForAlertByThreadId + 20, name = 'PPU[0x100501d] uMovie::StreamingThread'
thread #1: tid = 0x087c, 0x00007ff842e7a104 win32u.dll`NtUserMsgWaitForMultipleObjectsEx + 20
thread #96: tid = 0x0890, 0x00007ff845830a14 ntdll.dll`NtWaitForAlertByThreadId + 20, name = 'PPU[0x1002020] HLE Video Decoder'
<...>
```
More information about the All-commits
mailing list