[Lldb-commits] [lldb] [lldb][windows] fix a race condition when closing the ConPTY (PR #182302)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 20 09:25:15 PST 2026
================
@@ -0,0 +1,84 @@
+//===-- ConnectionConPTY.cpp ----------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Host/windows/ConnectionConPTYWindows.h"
+#include "lldb/Utility/Status.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+/// Strips the ConPTY initialization sequences that Windows unconditionally
+/// emits when a process is first attached to a pseudo console.
----------------
Nerixyz wrote:
Random thought: Should we ask the Windows Terminal maintainers about this? Feels like there should be an option to omit these characters.
https://github.com/llvm/llvm-project/pull/182302
More information about the lldb-commits
mailing list