llvm-project/lldb/source/API
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
..
CMakeLists.txt Add new files to the cmake lists. 2017-09-14 20:31:02 +00:00
SBAddress.cpp [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
SBAttachInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBBlock.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBBreakpoint.cpp Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBBreakpointLocation.cpp Cut and paste error from r23162. 2017-08-03 19:38:38 +00:00
SBBreakpointName.cpp Remove a couple of warnings pointed out by Ted Woodward. 2017-09-15 17:54:37 +00:00
SBBreakpointOptionCommon.cpp Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBBreakpointOptionCommon.h Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBBroadcaster.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBCommandInterpreter.cpp Implement interactive command interruption 2017-10-05 23:41:28 +00:00
SBCommandReturnObject.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBCommunication.cpp Move Connection and IOObject interfaces to Utility module 2017-06-27 10:33:14 +00:00
SBCompileUnit.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBData.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
SBDebugger.cpp Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
SBDeclaration.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
SBError.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBEvent.cpp Remove LIBLLDB_LOG_VERBOSE category 2017-02-05 00:44:54 +00:00
SBExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBExpressionOptions.cpp Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
SBFileSpec.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBFileSpecList.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBFrame.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBFunction.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBHostOS.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBInstruction.cpp [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
SBInstructionList.cpp [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
SBLanguageRuntime.cpp Update OptionGroup::SetValue to take StringRef. 2016-09-23 17:48:13 +00:00
SBLaunchInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBLineEntry.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
SBListener.cpp Move the definition of SBListener::GetSP() to SBListener.cpp. 2017-03-29 19:32:59 +00:00
SBMemoryRegionInfo.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBMemoryRegionInfoList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBModule.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBModuleSpec.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBPlatform.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBProcess.cpp Expose process instance info via SB API 2017-08-01 07:34:26 +00:00
SBProcessInfo.cpp Expose process instance info via SB API 2017-08-01 07:34:26 +00:00
SBQueue.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBQueueItem.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSection.cpp Remove FileSpec::ReadFileContents. 2017-03-06 23:42:14 +00:00
SBSourceManager.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBStream.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBStringList.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
SBStructuredData.cpp Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
SBSymbol.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSymbolContext.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSymbolContextList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTarget.cpp Wire up the breakpoint name help string. 2017-09-15 00:52:35 +00:00
SBThread.cpp Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
SBThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBThreadPlan.cpp Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
SBTrace.cpp Implementation of remote packets for Trace data. 2017-05-26 11:46:27 +00:00
SBTraceOptions.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
SBType.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBTypeCategory.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
SBTypeEnumMember.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBTypeFilter.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeFormat.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeNameSpecifier.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeSummary.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeSynthetic.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBUnixSignals.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBValue.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBValueList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBVariablesOptions.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBWatchpoint.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SystemInitializerFull.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
liblldb-private.exports Limit LLDB_EXPORT_ALL_SYMBOLS to lldb symbols 2016-10-29 00:29:15 +00:00
liblldb.exports Fix OSX cmake build 2016-02-18 17:01:40 +00:00
liblldb.xcode.exports Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00