This is a known issue. But I don't think this is a regression. It's just always been this way. Basically on Windows, select() only deals with sockets. It doesn't work with pipes, files, or anything else. In other words, ConnectionFileDescriptor is just fundamentally broken on Windows. I recently pushed a large refactor to the socket logic in ConnectionFileDescriptor which is aimed at addressing this. But it's only one step of what I think will be a long process to get ConnectionFileDescriptor working on Windows.
On Thu, Aug 7, 2014 at 1:01 PM, Deepak Panickal <[email protected]> wrote: > Hi, > > I have been seeing an issue with the refactored pipe support changes on > Windows using _pipe(). > > This is specifically at the ::select function in > ConnectionFileDescriptor::BytesAvailable(). > On Windows, the ::select fails if the pipe file descriptor is also > included and so the connection fails. > > > http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ConnectionFileDescriptor.cpp?view=markup > > Wanted to ask if anybody else on Windows is seeing any such issue? > > Thanks, > Deepak > > > _______________________________________________ > lldb-dev mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev >
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
