Go to file
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
clang [CMake] Add install-distribution-toolchain to stage2 target list 2017-10-05 22:48:34 +00:00
clang-tools-extra [clangd] Attempt to fix compilation with MSVC. 2017-10-05 22:15:15 +00:00
compiler-rt Revert "[LSan] Detect dynamic loader by its base address." 2017-10-05 22:53:17 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc configure: Fix handling of directories with compats only source lists 2017-10-05 20:16:28 +00:00
libcxx [libc++] Clarify names of ABI forcing macros 2017-10-05 02:18:08 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind build: use POSITION_INDEPENDENT_CODE instead of -fPIC 2017-10-03 20:22:26 +00:00
lld [ELF] Don't crash when parsing a file with out-of-bounds version references 2017-10-05 23:28:34 +00:00
lldb Implement interactive command interruption 2017-10-05 23:41:28 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm Revert "[llvm-dsymutil] Add support for __swift_ast MachO DWARF section" 2017-10-05 23:09:17 +00:00
openmp [test] Fix uninitialized memory in omp_taskloop_grainsize.c 2017-09-29 13:53:03 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] Introduce -polly-stmt-granularity=scalar-indep option. 2017-10-05 13:43:00 +00:00