llvm-project/lldb/source/API
Caroline Tice 969ed3d10f This patch captures and serializes all output being written by the
command line driver, including the lldb prompt being output by
editline, the asynchronous process output & error messages, and
asynchronous messages written by target stop-hooks.

As part of this it introduces a new Stream class,
StreamAsynchronousIO.  A StreamAsynchronousIO object is created with a
broadcaster, who will eventually broadcast the stream's data for a
listener to handle, and an event type indicating what type of event
the broadcaster will broadcast.  When the Write method is called on a
StreamAsynchronousIO object, the data is appended to an internal
string.  When the Flush method is called on a StreamAsynchronousIO
object, it broadcasts it's data string and clears the string.

Anything in lldb-core that needs to generate asynchronous output for
the end-user should use the StreamAsynchronousIO objects.

I have also added a new notification type for InputReaders, to let
them know that a asynchronous output has been written. This is to
allow the input readers to, for example, refresh their prompts and
lines, if desired.  I added the case statements to all the input
readers to catch this notification, but I haven't added any code for
handling them yet (except to the IOChannel input reader).

llvm-svn: 130721
2011-05-02 20:41:46 +00:00
..
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
SBAddress.cpp Added some functions to our API related to classifying symbols as code, data, 2011-03-31 01:08:07 +00:00
SBBlock.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBBreakpoint.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBreakpointLocation.cpp Make SBBreakpointLocation::GetDescription() API to be consistent with SBTarget, 2011-04-25 20:23:05 +00:00
SBBroadcaster.cpp Added a less than operator that will compare the internal opaque pointer values so SBBroadcaster objects can be contained in ordered containers or sorted. 2010-12-05 23:14:19 +00:00
SBCommandInterpreter.cpp Abtracted the innards of lldb-core away from the SB interface. There was some 2011-03-22 01:14:58 +00:00
SBCommandReturnObject.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
SBCommunication.cpp More reverting of the EOF stuff as the API was changed which we don't want to 2010-12-04 02:39:47 +00:00
SBCompileUnit.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBDebugger.cpp This patch captures and serializes all output being written by the 2011-05-02 20:41:46 +00:00
SBError.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBEvent.cpp Fixed a crasher when trying to get event data flavors on events that don't 2010-12-05 19:21:02 +00:00
SBFileSpec.cpp Add missing headers. 2011-04-08 13:36:44 +00:00
SBFrame.cpp Fix up how the ValueObjects manage their life cycle so that you can hand out a shared 2011-04-22 23:53:53 +00:00
SBFunction.cpp Cleaned up the Disassembler code a bit more. You can now request a disassembler 2011-03-25 18:03:16 +00:00
SBHostOS.cpp Moved FileSpec into the Host layer since it will vary from host to host. 2011-02-08 05:05:52 +00:00
SBInputReader.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBInstruction.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
SBInstructionList.cpp Add Emulate and DumpEmulation to Instruction class. 2011-04-05 23:22:54 +00:00
SBLineEntry.cpp Add missing headers. 2011-04-08 13:36:44 +00:00
SBListener.cpp Added a SBListener parameter to Launch and attach calls to avoid a race 2011-02-03 21:28:34 +00:00
SBModule.cpp Added the ability to set the Platform path for a module through the SBModule 2011-04-30 01:09:13 +00:00
SBProcess.cpp Add a test case ProcessAPITestCase.test_remote_launch() which tests SBProcess.RemoteLaunch() 2011-03-05 01:20:11 +00:00
SBSourceManager.cpp Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
SBStream.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
SBStringList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBSymbol.cpp Added some functions to our API related to classifying symbols as code, data, 2011-03-31 01:08:07 +00:00
SBSymbolContext.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBSymbolContextList.cpp Added some missing API for address resolving within a module, and looking 2010-09-10 18:31:35 +00:00
SBTarget.cpp Added the ability to set the Platform path for a module through the SBModule 2011-04-30 01:09:13 +00:00
SBThread.cpp Added support for stepping out of a frame. If you have 10 stack frames, and you 2011-01-21 06:11:58 +00:00
SBType.cpp Fixed up the SBValue::GetExpressionPath() to be more correct under more 2011-01-21 01:59:00 +00:00
SBValue.cpp Adding support for fetching the Dynamic Value for ObjC Objects. 2011-05-02 18:13:59 +00:00
SBValueList.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00