llvm-project/lldb/source/Target
Zachary Turner 0b9d3eefdb Enhance the Pipe interface for better portability.
This patch makes a number of improvements to the Pipe interface.

1) An interface (PipeBase) is provided which exposes pure virtual
   methods for any implementation of Pipe to override.  While not
   strictly necessary, this helps catch errors where the interfaces
   are out of sync.

2) All methods return lldb_private::Error instead of returning bool
   or void.  This allows richer error information to be propagated
   up to LLDB.

3) A new ReadWithTimeout() method is exposed in the base class and
   implemented on Windows.

4) Support for both named and anonymous pipes is exposed through the
   base interface and implemented on Windows.  For creating a new
   pipe, both named and anonymous pipes are supported, and for
   opening an existing pipe, only named pipes are supported.

New methods described in points #3 and #4 are stubbed out on posix,
but fully implemented on Windows.  These should be implemented by
someone on the linux / mac / bsd side.

Reviewed by: Greg Clayton, Oleksiy Vyalov
Differential Revision: http://reviews.llvm.org/D6686

llvm-svn: 224442
2014-12-17 18:02:19 +00:00
..
ABI.cpp ABI for the Hexagon DSP 2014-07-21 17:21:01 +00:00
CMakeLists.txt LLDB AddressSanitizer instrumentation runtime plugin, breakpint on error and report data extraction 2014-10-10 23:43:03 +00:00
CPPLanguageRuntime.cpp Fixed the C++ method name class to be a bit more picky about what it identifies as a C++ method. 2014-11-05 23:56:37 +00:00
ExecutionContext.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
FileAction.cpp Enable local llgs debugging on Linux when the use-llgs-for-local setting is enabled. 2014-10-10 00:09:16 +00:00
InstrumentationRuntime.cpp LLDB AddressSanitizer instrumentation runtime plugin, breakpint on error and report data extraction 2014-10-10 23:43:03 +00:00
InstrumentationRuntimeStopInfo.cpp LLDB AddressSanitizer instrumentation runtime plugin, breakpint on error and report data extraction 2014-10-10 23:43:03 +00:00
JITLoader.cpp Moved JITLoader.cpp and JITLoaderList.cpp over into "source/Target" since the header files were in "include/lldb/Target". 2014-03-06 00:14:12 +00:00
JITLoaderList.cpp Create a Process::ModulesDidLoad() method to handle process-related tasks, as suggested by Jim Ingham. Make JITLoader instances use this to probe only new modules for relevant JIT symbols. Also re-enable the JITLoader hooks in Process. 2014-03-13 09:37:02 +00:00
LanguageRuntime.cpp Fix a bunch of [-Werror,-Winconsistent-missing-override] warnings. 2014-12-10 22:29:58 +00:00
Makefile
Memory.cpp Clean-up warnings on Linux/GCC 2014-09-16 06:34:29 +00:00
MemoryHistory.cpp Fix MemoryHistory plugin to check whether the plugin 2014-10-16 16:59:23 +00:00
NativeRegisterContext.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
NativeRegisterContextRegisterInfo.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
ObjCLanguageRuntime.cpp - Use "for_expression" rather than "allow_unknownanytype" 2014-10-31 18:02:30 +00:00
OperatingSystem.cpp <rdar://problem/13854277> 2013-05-10 21:47:16 +00:00
PathMappingList.cpp Start converting usages of off_t to other types. 2014-07-02 17:24:07 +00:00
Platform.cpp Added support to Platform to indicate (1) whether the 2014-12-05 01:16:31 +00:00
Process.cpp Enhance the Pipe interface for better portability. 2014-12-17 18:02:19 +00:00
ProcessInfo.cpp Pull ProcessInfo and ProcessLaunchInfo out of Target/Process. 2014-06-30 00:30:53 +00:00
ProcessLaunchInfo.cpp Fix some posix assumptions related to running shell commands. 2014-12-08 21:36:42 +00:00
Queue.cpp Add a SBQueue::GetKind() method to retrieve the type of libdispatch queue (serial or concurrent). 2014-03-13 02:54:54 +00:00
QueueItem.cpp Correctly add the QueueID to a pending block's extended thread backtrace thread. 2014-03-10 08:42:03 +00:00
QueueList.cpp Add new Queue, QueueItem, Queuelist, SBQueue, SBQueueItem classes to represent 2013-12-13 00:29:16 +00:00
RegisterContext.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
SectionLoadHistory.cpp Fix typos. 2014-07-01 21:22:11 +00:00
SectionLoadList.cpp Fix typos. 2014-07-08 18:05:41 +00:00
StackFrame.cpp Fix a corner case with the handling of noreturn functions. 2014-11-08 05:38:17 +00:00
StackFrameList.cpp Fixed more fallout from running the test suite remotely on iOS devices. 2014-11-17 19:39:20 +00:00
StackID.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
StopInfo.cpp The breakpoint location hit counts were getting incremented in 2014-10-22 01:54:17 +00:00
SystemRuntime.cpp Change the Mac OS X SystemRuntime plugin from using the placeholder 2014-02-05 05:44:54 +00:00
Target.cpp Add the ability to set breakpoints with conditions, commands, etc, 2014-12-06 01:28:03 +00:00
TargetList.cpp Add the ability to set breakpoints with conditions, commands, etc, 2014-12-06 01:28:03 +00:00
Thread.cpp Handle thumb IT instructions correctly all the time. 2014-12-09 23:31:02 +00:00
ThreadCollection.cpp [lldb] Abstract a superclass for a generic thread container. 2014-09-05 19:13:15 +00:00
ThreadList.cpp [lldb] Abstract a superclass for a generic thread container. 2014-09-05 19:13:15 +00:00
ThreadPlan.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
ThreadPlanBase.cpp Improve logging a bit by printing the exception or signal type description. 2014-02-27 19:35:12 +00:00
ThreadPlanCallFunction.cpp Fix the behavior when hand-calling a function times out on one thread, 2014-04-08 21:33:21 +00:00
ThreadPlanCallUserExpression.cpp Move some Host logic into HostInfo class. 2014-08-19 17:18:29 +00:00
ThreadPlanPython.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
ThreadPlanRunToAddress.cpp Fix typos. 2014-07-01 21:22:11 +00:00
ThreadPlanShouldStopHere.cpp When stepping, handle the case where the step leaves us with 2014-08-06 01:49:59 +00:00
ThreadPlanStepInRange.cpp Remove unneeded local var initialization. 2014-10-15 03:06:23 +00:00
ThreadPlanStepInstruction.cpp "nexti" should not step over inlined functions. 2014-11-20 22:04:45 +00:00
ThreadPlanStepOut.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
ThreadPlanStepOverBreakpoint.cpp Fix stepping over the inserted breakpoint trap when the NEXT instruction 2014-10-08 01:03:54 +00:00
ThreadPlanStepOverRange.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
ThreadPlanStepRange.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
ThreadPlanStepThrough.cpp Not all processes have a Dynamic Loader. Be sure to check that it exists before using it. 2014-09-30 20:33:25 +00:00
ThreadPlanStepUntil.cpp Fetching the parent frame may fail, handle that case. Patch from Tong Shen. 2014-08-11 23:57:43 +00:00
ThreadPlanTracer.cpp Add a new disassembly-format specification so that the disassembler 2014-10-10 23:07:36 +00:00
ThreadSpec.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
UnixSignals.cpp Change the default handling for SIGALRM and SIGCHLD to not notify. 2013-10-28 19:00:42 +00:00
UnwindAssembly.cpp Fix UnwindAssembly memory leak by defining and using a shared UnwindAssemblySP type. 2014-02-03 23:49:47 +00:00