[Lldb-commits] [lldb] [NFC][lldb][Windows] extract IOHandlerProcessSTDIOWindows (PR #201651)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 5 08:17:46 PDT 2026


================
@@ -0,0 +1,63 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LIBLLDB_PLUGINS_PROCESS_WINDOWS_COMMON_IO_HANDLER_PROCESS_STDIO_WINDOWS_H_
+#define LIBLLDB_PLUGINS_PROCESS_WINDOWS_COMMON_IO_HANDLER_PROCESS_STDIO_WINDOWS_H_
+
+#include "lldb/Core/IOHandler.h"
+#include "lldb/Host/File.h"
+#include "lldb/Target/Process.h"
+
+typedef void *HANDLE;
----------------
Nerixyz wrote:

```suggestion
using HANDLE = void*;
```

That should still be compatible with the definition in `winnt.h`.

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


More information about the lldb-commits mailing list