[lldb-dev] Psuedo terminal on Windows

Carlo Kok via lldb-dev lldb-dev at lists.llvm.org
Mon Sep 12 01:30:03 PDT 2016



On 2016-09-12 10:06, Carlo Kok via lldb-dev wrote:
> Hi,
>
> ProcessLaunchInfo seems to, unconditionally create a pseudo terminal if
> there's nothing attached to the stdout/stderr. This seems to end up
> calling posix_openpt, which is defined as:
>
> inline int posix_openpt(int flag) { LLVM_BUILTIN_UNREACHABLE; }
>
> for Windows.
>
> This was fine a while ago so I'm wondering, what changed and how do I
> work around it?

This seemed to be caused by 278177 (done by zturner), and probably only 
hits when the host application is a gui app instead of a console 
application.


-- 
Carlo Kok
RemObjects Software


More information about the lldb-dev mailing list