llvm-project/lldb/source/Plugins/Process
Pavel Labath 5ad891f719 Unify process launching code on linux
Summary:
We've had two copies of code for launching processes:
- one in NativeProcessLinux, used for launching debugged processes
- one in ProcessLauncherAndroid, used on android for launching all other kinds of processes

These have over time acquired support for various launch options, but neither supported all of
them. I now replace them with a single implementation ProcessLauncherLinux, which supports all
the options the individual versions supported and set it to be used to launch all processes on
linux.

This also works around the ETXTBSY issue on android when the process is started from the platform
instance, as that used to go through the version which did not contain the workaround.

Reviewers: tberghammer

Subscribers: tberghammer, danalbert, srhines, lldb-commits

Differential Revision: https://reviews.llvm.org/D22457

llvm-svn: 276288
2016-07-21 14:54:03 +00:00
..
FreeBSD second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Linux Unify process launching code on linux 2016-07-21 14:54:03 +00:00
MacOSX-Kernel LLDB help content has accumulated over time without a recent attempt to 2016-07-14 22:03:10 +00:00
POSIX Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
Utility Revert r273524, it may have been the cause of a linux testbot failure 2016-06-23 04:24:16 +00:00
Windows Implement GetMemoryRegions() for Windows Minidumps and live processes. 2016-07-18 08:25:59 +00:00
elf-core Implement GetMemoryRegions() for Linux and Mac OSX core files. 2016-07-07 08:21:28 +00:00
gdb-remote Unify process launching code on linux 2016-07-21 14:54:03 +00:00
mach-core Implement GetMemoryRegions() for Linux and Mac OSX core files. 2016-07-07 08:21:28 +00:00
CMakeLists.txt Refactor Windows process plugin to allow code sharing between live and mini dump debugging. 2015-10-28 18:21:45 +00:00