llvm-project/lldb/source/Host
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
..
android Unify process launching code on linux 2016-07-21 14:54:03 +00:00
common Unify process launching code on linux 2016-07-21 14:54:03 +00:00
freebsd Make lldb::endian::InlHostByteOrder() private. 2015-11-07 04:40:13 +00:00
linux Unify process launching code on linux 2016-07-21 14:54:03 +00:00
macosx make macOS 'launch in terminal' bring terminal to the front during launch 2016-07-18 19:15:38 +00:00
netbsd Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
posix Typo corrections identified by codespell 2016-07-19 15:28:02 +00:00
windows Generalize child process monitoring functions 2016-05-11 16:59:04 +00:00
CMakeLists.txt Unify process launching code on linux 2016-07-21 14:54:03 +00:00