[lldb-dev] Psuedo terminal on Windows

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Mon Sep 12 07:39:33 PDT 2016


Ahh that explains why I didn't notice it. Is the fix straightforward?
On Mon, Sep 12, 2016 at 1:31 AM Carlo Kok via lldb-dev <
lldb-dev at lists.llvm.org> wrote:

>
>
> 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
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160912/eda02c44/attachment.html>


More information about the lldb-dev mailing list