[Lldb-commits] [lldb] [llvm] [lldb][windows] add Windows Virtual Console support (PR #168729)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 2 08:08:14 PST 2025
================
@@ -35,11 +35,14 @@ class PseudoTerminal {
/// Destructor
///
- /// The destructor will close the primary and secondary file descriptors if
- /// they are valid and ownership has not been released using one of: @li
- /// PseudoTerminal::ReleasePrimaryFileDescriptor() @li
- /// PseudoTerminal::ReleaseSaveFileDescriptor()
- ~PseudoTerminal();
+ /// The destructor will close the primary and secondary file
+ /// descriptor/HANDLEs if they are valid and ownership has not been released
+ /// using PseudoTerminal::Close().
+ virtual ~PseudoTerminal();
----------------
charles-zablit wrote:
I agree. I think we should use `#if defined` instead, a lot of the methods in `PseudoTerminal` don't make sense on Windows. (GetPrimary and GetSecondary for instance).
https://github.com/llvm/llvm-project/pull/168729
More information about the lldb-commits
mailing list