llvm-project/lldb/source/Target
Todd Fiala 4ceced3f59 Consolidate UnixSignals setting/getting in Process.
See http://reviews.llvm.org/D5108 for details.

This change does the following:

* eliminates the Process::GetUnixSignals() virtual method and replaces with a fixed getter.
* replaces the Process UnixSignals storage with a shared pointer.
* adds a Process constructor variant that can be passed the UnixSignalsSP. When the constructor without the UnixSignalsSP is specified, the Host's default UnixSignals is used.
* adds a host-specific version of GetUnixSignals() that is used when we need the host's appropriate UnixSignals variant.
* replaces GetUnixSignals() overrides in PlatformElfCore, ProcessGDBRemote, ProcessFreeBSD and ProcessLinux with code that appropriately sets the Process::UnixSignals for the process.

This change also enables some future patches that will enable llgs to be used for local Linux debugging.

llvm-svn: 216748
2014-08-29 17:35:57 +00:00
..
ABI.cpp ABI for the Hexagon DSP 2014-07-21 17:21:01 +00:00
CMakeLists.txt Refactor FileAction out of ProcessLaunchInfo. 2014-08-14 16:01:25 +00:00
CPPLanguageRuntime.cpp <rdar://problem/11398407> 2013-05-18 00:11:21 +00:00
ExecutionContext.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
FileAction.cpp Move FileSystem functions out of Host and into their own classes. 2014-08-15 22:04:21 +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 [dwarf] Add new language enumerations. 2014-08-26 21:22:49 +00:00
Makefile
Memory.cpp Fix a thinko in the memory allocator that was causing us to strand an allocation range 2014-08-08 20:01:41 +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 This is a fairly bulky patch, but a lot of it involves rearranging existing code 2014-08-19 21:46:37 +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 Move GetUsername and GetGroupname to HostInfoPosix 2014-08-21 20:02:17 +00:00
Process.cpp Consolidate UnixSignals setting/getting in Process. 2014-08-29 17:35:57 +00:00
ProcessInfo.cpp Pull ProcessInfo and ProcessLaunchInfo out of Target/Process. 2014-06-30 00:30:53 +00:00
ProcessLaunchInfo.cpp Move FileSystem functions out of Host and into their own classes. 2014-08-15 22:04:21 +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 typos. 2014-07-08 18:05:41 +00:00
StackFrameList.cpp Fix typos. 2014-07-08 18:05:41 +00:00
StackID.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
StopInfo.cpp Add some useful logging to the step log. 2014-08-05 01:58:14 +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 In order for the debug script filename to be valid as a module name, LLDB does some textual replacements. However, if one were unaware of this, they might name their script using the 'untampered' file name and they would get no feedback about it. Add logic to LLDB to make sure we tell people about those changes if it turns out they might need to know. Fixes rdar://14310572 2014-08-16 00:32:58 +00:00
TargetList.cpp If an executable file is specified with no architecture and it contains more than one architecture select a compatible platform if all architectures match the same platform. 2014-08-20 18:13:03 +00:00
Thread.cpp Update lldb to track recent Triple arm64 enum removal and collapse into aarch64. 2014-07-23 14:37:35 +00:00
ThreadList.cpp Fix the behavior when hand-calling a function times out on one thread, 2014-04-08 21:33:21 +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
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 Don't duplicate the logic of the ThreadPlanShouldStopHere::DefaultShouldStopHereCallback 2014-08-08 01:27:01 +00:00
ThreadPlanStepInstruction.cpp Add the ability to provide a "count" option to the various "thread step-*" operations. Only 2014-07-08 19:28:57 +00:00
ThreadPlanStepOut.cpp This commit reworks how the thread plan's ShouldStopHere mechanism works, so that it is useful not only 2014-03-13 02:47:14 +00:00
ThreadPlanStepOverBreakpoint.cpp If ThreadPlanCallFunction hasn't set its notion of the "real stop info" yet, just return the current PrivateStopInfo. 2013-06-04 01:40:51 +00:00
ThreadPlanStepOverRange.cpp When stepping, handle the case where the step leaves us with 2014-08-06 01:49:59 +00:00
ThreadPlanStepRange.cpp Fetching the parent frame may fail, handle that case. Patch from Tong Shen. 2014-08-11 23:57:43 +00:00
ThreadPlanStepThrough.cpp Revert change I didn't mean to check in. 2013-12-10 19:44:41 +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 cleanup unreferenced functions 2014-03-20 06:08: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