summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-10-08 20:38:41 +0000
committerZachary Turner <zturner@google.com>2014-10-08 20:38:41 +0000
commitb2df30d6521069cb2f655213a1b31040f82ee7c3 (patch)
treec9b4d248569c80c5c19a8ec3caaabd5069ee0c8a /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent1947f863efd83ce21f7e7d99ed69b95a484d4a84 (diff)
downloadbcm5719-llvm-b2df30d6521069cb2f655213a1b31040f82ee7c3.tar.gz
bcm5719-llvm-b2df30d6521069cb2f655213a1b31040f82ee7c3.zip
Fix deadlock in Python one-line execution.
Python one-line execution was using ConnectionFileDescriptor to do a non-blocking read against a pipe. This won't work on Windows, as CFD is implemented using select(), and select() only works with sockets on Windows. The solution is to use ConnectionGenericFile on Windows, which uses the native API to do overlapped I/O on the pipe. This in turn requires re-implementing Host::Pipe on Windows using native OS handles instead of the more portable _pipe CRT api. Reviewed by: Greg Clayton Differential Revision: http://reviews.llvm.org/D5679 llvm-svn: 219339
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud