hanchenye-llvm-project/lldb
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
..
cmake Check availability of accept4 in C++ instad of C code. 2017-09-16 02:58:49 +00:00
docs Adding Support for Error Strings in Remote Packets 2017-07-12 11:15:34 +00:00
examples Work around a bug in the C++ expression parser. 2017-10-05 01:00:29 +00:00
include/lldb Implement interactive command interruption 2017-10-05 23:41:28 +00:00
lit Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
lldb.xcodeproj cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Implement interactive command interruption 2017-10-05 23:41:28 +00:00
resources
scripts Implement interactive command interruption 2017-10-05 23:41:28 +00:00
source Implement interactive command interruption 2017-10-05 23:41:28 +00:00
test cmake build needs to run tests AND collect results 2017-07-18 23:45:06 +00:00
third_party/Python/module
tools [lldb-mi] Fix a thinko in my previous commit. 2017-09-30 21:52:31 +00:00
unittests cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
utils
www Mention breakpoint names in the tutorial. 2017-09-14 22:20:31 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt LLDB cmake fix: define LLDB_CONFIGURATION_xxx based on the build type 2017-10-04 20:23:56 +00:00
CODE_OWNERS.txt Greg Clayton is no longer working at Apple, he will continue to 2017-03-01 00:00:45 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py