llvm-project/lldb/source/Interpreter
Zachary Turner b2df30d652 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
2014-10-08 20:38:41 +00:00
..
Args.cpp Add "target.expr-parser-compiler-args" setting. 2014-10-06 23:13:30 +00:00
CMakeLists.txt Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandHistory.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandInterpreter.cpp Enable llgs to build against experimental Android AOSP lldb/llvm/clang/compiler-rt repos. 2014-09-27 16:54:22 +00:00
CommandObject.cpp Have CommandObject::CheckRequirements() report the largest missing 2014-09-20 09:14:31 +00:00
CommandObjectRegexCommand.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandObjectScript.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
CommandObjectScript.h Fix a few more clang (3.2) warnings on Linux: 2012-12-07 22:21:08 +00:00
CommandOptionValidators.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandReturnObject.cpp Any commands that are executed through the public interface using SBCommandInterpreter::HandleCommand() are assumed to be in non-interactive mode. 2014-07-15 00:25:59 +00:00
Makefile Fix configure & make build with python disabled 2014-09-09 04:52:37 +00:00
OptionGroupArchitecture.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupBoolean.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupFile.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupFormat.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupOutputFile.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupPlatform.cpp Test suite runs better again after recent fixes that would select a platform if a "file a.out" auto selected a different platform than the selected one. 2014-09-19 20:11:50 +00:00
OptionGroupString.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupUInt64.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
OptionGroupUUID.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupValueObjectDisplay.cpp Add a -V <bool> flag to frame variable/expression that enables execution of type validators. The jury is still out on what the user experience of type validators should be, so for now gate it on a specific flag. The mode I am using is prefix variables that fail to validate with a bang, and then emitting the actual validation error on a separate line. Of course, given the total absence of validators, this should never actually happen to you 2014-09-06 02:20:19 +00:00
OptionGroupVariable.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupWatchpoint.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionValue.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueArch.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueArgs.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
OptionValueArray.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueBoolean.cpp lldb: remove adhoc implementation of array_sizeof 2014-06-27 05:17:41 +00:00
OptionValueDictionary.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueEnumeration.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueFileSpec.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValueFileSpecLIst.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
OptionValueFormat.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
OptionValuePathMappings.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
OptionValueProperties.cpp Fix a few typos. 2014-06-27 02:42:12 +00:00
OptionValueRegex.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
OptionValueSInt64.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
OptionValueString.cpp Now that "settings set" will strip leading and trailing spaces, we need a way to be able to specify string values that contain spaces. So now settings setting <property> <value>" can have a <value> that is quoted: 2013-03-06 02:19:38 +00:00
OptionValueUInt64.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
OptionValueUUID.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
Options.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
Property.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
PythonDataObjects.cpp Switch NULL to C++11 nullptr in source/Interpreter 2014-04-20 00:31:37 +00:00
ScriptInterpreter.cpp Extend synthetic children to produce synthetic values (as in, those that GetValueAsUnsigned(), GetValueAsCString() would return) 2014-10-08 18:27:36 +00:00
ScriptInterpreterNone.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
ScriptInterpreterPython.cpp Fix deadlock in Python one-line execution. 2014-10-08 20:38:41 +00:00
embedded_interpreter.py Continuation broken for Python scripts when using non-interactive input (Xcode for example). 2014-09-15 22:46:25 +00:00