llvm-project/lldb/scripts
Leonard Mosescu 17ffd39ed8 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)

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

llvm-svn: 315037
2017-10-05 23:41:28 +00:00
..
Python Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
Xcode Change build-llvm.py and build-lldb-llvm-clang's patching mechanisms to 2017-09-27 23:44:54 +00:00
interface Implement interactive command interruption 2017-10-05 23:41:28 +00:00
swig_bot_lib *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Install lldb Python module on Windows. 2017-01-06 22:05:35 +00:00
analyze-project-deps.py Make scripts/analyze-project-deps.py executable 2017-06-29 13:02:15 +00:00
build-lldb-llvm-clang Change build-llvm.py and build-lldb-llvm-clang's patching mechanisms to 2017-09-27 23:44:54 +00:00
buildbot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
checkpoint-llvm.pl Fix typos. 2014-07-01 21:22:11 +00:00
disasm-gdb-remote.pl Fix typos. 2014-07-01 21:22:11 +00:00
finish-swig-wrapper-classes.sh
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
framework-header-fix.sh [CMake] Rework construction of framework bundle 2017-07-25 20:30:58 +00:00
generate-vers.pl
get_relative_lib_dir.py Support RHEL 7 and similar systems that use architecture-specific Python lib dirs 2015-10-12 20:12:27 +00:00
install-lldb.sh
install_custom_python.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb.swig Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
prepare_bindings.py Fix SBDebugger.GetOutputFileHandle() on OS X. 2016-03-11 01:57:45 +00:00
sed-sources Fix typos. 2014-07-01 21:22:11 +00:00
shush Several improvements to the shush script 2015-01-16 23:16:22 +00:00
swig_bot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
use_lldb_suite.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsOsType.py Support of lldb on Kfreebsd 2016-12-17 12:48:06 +00:00
verify_api.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00