oltolm
95e5839e06
[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'
<...>
```
2023-12-21 12:42:22 +00:00
..
2023-09-29 18:45:05 +02:00
2023-11-07 09:35:25 +00:00
2023-09-29 10:31:01 -05:00
2023-12-04 15:14:49 -05:00
2023-12-16 14:39:37 -08:00
2023-07-10 11:17:25 -07:00
2023-10-25 12:52:52 -07:00
2023-08-31 11:27:59 -07:00
2023-12-16 14:39:37 -08:00
2023-12-16 14:39:37 -08:00
2023-06-13 15:51:32 -07:00
2023-09-05 16:54:05 -07:00
2023-12-16 15:02:15 -08:00
2023-10-26 15:12:22 -07:00
2023-12-16 15:02:15 -08:00
2023-12-21 12:42:22 +00:00
2023-11-03 21:45:39 +04:00
2023-06-05 12:52:38 -07:00
2023-11-27 09:10:39 +00:00
2023-10-30 13:21:00 -07:00
2023-12-20 14:48:01 +00:00
2023-12-04 11:45:40 -08:00
2023-11-05 08:26:42 -08:00
2023-11-03 21:45:39 +04:00
2023-11-06 19:45:52 -05:00
2023-10-30 13:21:00 -07:00
2023-12-16 14:39:37 -08:00
2023-11-03 15:42:23 -07:00