llvm-project/lldb/packages/Python/lldbsuite/test/functionalities
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
..
abbreviation *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
alias
apropos_with_process *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
archives *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
asan Update test expectations after AddressSanitizer text descriptions changed in r288535. 2016-12-02 22:11:26 +00:00
attach_resume *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
avoids-fd-leak Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
backticks *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
breakpoint Wire up the breakpoint name help string. 2017-09-15 00:52:35 +00:00
command_history *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
command_regex *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
command_script *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
command_script_alias *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
command_script_immediate_output *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
command_source Implement interactive command interruption 2017-10-05 23:41:28 +00:00
completion Clean up the stop printing header lines. 2016-11-08 20:36:40 +00:00
conditional_break *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
darwin_log The darwin_log tests are very fragile and currently do not properly assess the state of that functionality. 2017-04-05 20:33:39 +00:00
data-formatter Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00
dead-strip *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
disassembly Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
dynamic_value_child_count *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
embedded_interpreter Clean up the stop printing header lines. 2016-11-08 20:36:40 +00:00
exec Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
expr-doesnt-deadlock *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
fat_archives convert TestFatArchives.py over to no-debug-info test 2016-09-27 17:17:21 +00:00
format *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
frame-diagnose Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
frame-language Fix TestGuessLanguage for gcc 2017-04-12 10:13:50 +00:00
frame_var Add back code to implement "frame var -a,-l,-g" filters. 2017-04-18 16:52:16 +00:00
frame_var_scope Fix an issue where frame variable -s <varname> would not show the scope even though the user asked for it 2016-10-26 19:17:49 +00:00
history Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
inferior-assert *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
inferior-changed *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
inferior-crashing Report inferior signals as signals, not exceptions, on FreeBSD 2017-08-10 13:47:17 +00:00
inline-stepping *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
jitloader_gdb *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
launch_with_shellexpand Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
load_unload Move install_name_tool to a separate make target. 2017-10-02 22:11:22 +00:00
longjmp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
memory Jim unintentionally had the gdb-format specifiers falling through 2017-01-25 01:41:48 +00:00
mtc/simple Remove the details of the libstdc++ implementation that were 2017-09-25 21:23:37 +00:00
multidebugger_commands *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
nested_alias *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
non-overlapping-index-variable-i *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
nosucharch *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
object-file *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
paths *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
platform Fix PlatformPythonTestCase.test_platform_list for the build bots 2017-08-09 15:49:15 +00:00
plugins [Test Suite] Pull generateSource into lldbtest 2016-10-31 04:48:19 +00:00
postmortem Re-land r313210 - Fix for bug 34532 - A few rough corners related to post-mortem debugging (core/minidump) 2017-09-19 18:07:33 +00:00
pre_run_dylibs Get ObjectFileMachO to handle @executable_path 2017-03-20 19:21:31 +00:00
process_attach Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
process_group Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
process_launch *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
process_save_core *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ptr_refs *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
recursion *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
register Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00
rerun *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
return-value Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
set-data *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
signal Report inferior signals as signals, not exceptions, on FreeBSD 2017-08-10 13:47:17 +00:00
single-quote-in-filename-to-lldb *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
step-avoids-no-debug Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
stop-hook Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
target_command *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
testid add a simple test case to validate test id() 2016-10-03 22:49:13 +00:00
thread Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00
tsan [Test-Suite] Fix all the sanitizer tests to be based on compiler capabilities 2016-11-10 19:16:17 +00:00
tty This test was failing because /bin/ls is no longer debuggable on OS X. 2016-10-11 00:35:41 +00:00
type_completion *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
type_lookup Add support to the ObjC type scavenger for finding types via debug info 2016-11-03 17:25:27 +00:00
ubsan Upstreaming a patch from Github: When evaluation user expressions, ignore InstrumentationRuntime breakpoints. (#235) 2017-07-13 04:35:27 +00:00
unwind Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00
value_md5_crash *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
watchpoint Add support for running the lldb testsuite against an apple watch 2017-09-27 22:12:54 +00:00