[Lldb-commits] [lldb] lldb: add support for thread names on Windows (PR #74731)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 7 10:26:47 PST 2023


================
@@ -33,6 +34,9 @@
 using namespace lldb;
 using namespace lldb_private;
 
+using GetThreadDescriptionFunctionPtr = HRESULT
+WINAPI (*)(HANDLE hThread, PWSTR *ppszThreadDescription);
+
----------------
clayborg wrote:

Can we just `#include <processthreadsapi.h>` and avoid manually declaring a function prototype?

https://github.com/llvm/llvm-project/pull/74731


More information about the lldb-commits mailing list