llvm-project/lldb/source/Interpreter
Adrian McCarthy 977996d25b [LLDB] Implement interactive command interruption
The core of this change is the new CommandInterpreter::m_command_state, which
models the state transitions for interactive commands, including an
"interrupted" state transition.

In general, command interruption requires cooperation from the code executing
the command, which needs to poll for interruption requests through
CommandInterpreter::WasInterrupted().

CommandInterpreter::PrintCommandOutput() implements an optionally
interruptible printing of the command output, which for large outputs was
likely the longest blocking part.  (ex. target modules dump symtab on a
complex binary could take 10+ minutes)

patch by lemo

Differential Revision: https://reviews.llvm.org/D37923

llvm-svn: 313904
2017-09-21 19:36:52 +00:00
..
Args.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
CMakeLists.txt [CMake] Add accurate dependency specifications 2017-01-31 20:43:05 +00:00
CommandAlias.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
CommandHistory.cpp Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
CommandInterpreter.cpp [LLDB] Implement interactive command interruption 2017-09-21 19:36:52 +00:00
CommandObject.cpp Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
CommandObjectRegexCommand.cpp Make CommandObject help getters/setters use StringRef. 2016-11-12 20:41:02 +00:00
CommandObjectScript.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectScript.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandOptionValidators.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandReturnObject.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupArchitecture.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupBoolean.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupFile.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupFormat.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupOutputFile.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupPlatform.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupString.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupUInt64.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupUUID.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupValueObjectDisplay.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupVariable.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionGroupWatchpoint.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValue.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueArch.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueArgs.cpp Rewrite all Property related functions in terms of StringRef. 2016-11-17 18:08:12 +00:00
OptionValueArray.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueBoolean.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueChar.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueDictionary.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueEnumeration.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueFileSpec.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueFileSpecLIst.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueFormat.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueFormatEntity.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueLanguage.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValuePathMappings.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueProperties.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueRegex.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueSInt64.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueString.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueUInt64.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionValueUUID.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Options.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Property.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ScriptInterpreter.cpp [Interpreter] Simplify else after return. NFCI. 2017-09-03 19:27:56 +00:00
embedded_interpreter.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00