Add host layer support for pipes.
authorGreg Clayton <gclayton@apple.com>
Wed, 2 Jul 2014 21:10:39 +0000 (21:10 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 2 Jul 2014 21:10:39 +0000 (21:10 +0000)
commit100eb93f89cc8d9a177e0af7aca8e778a24d62de
tree97b75bdf6c52f34ee43ca0a3b3047ef1879a6035
parentac64d2b064e18604525d6cd6ea08654dcf961a43
Add host layer support for pipes.

Windows does support pipes, but they do so in a slightly different way. Added a Host layer which abstracts the use of pipes into a new Pipe class that everyone can use.

Windows benefits include:
- Being able to interrupt running processes when IO is directly hooked up
- being able to interrupt long running python scripts
- being able to interrupt anything based on ConnectionFileDescriptor

llvm-svn: 212220
lldb/include/lldb/Core/ConnectionFileDescriptor.h
lldb/include/lldb/Host/Pipe.h [new file with mode: 0644]
lldb/lldb.xcodeproj/project.pbxproj
lldb/source/Core/ConnectionFileDescriptor.cpp
lldb/source/Host/common/CMakeLists.txt
lldb/source/Host/common/Pipe.cpp [new file with mode: 0644]
lldb/source/Interpreter/ScriptInterpreterPython.cpp
lldb/source/Target/Process.cpp