llvm-project/lldb/source/Plugins/Process/Linux
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
..
CMakeLists.txt Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
NativeProcessLinux.cpp Unify process launching code on linux 2016-07-21 14:54:03 +00:00
NativeProcessLinux.h Unify process launching code on linux 2016-07-21 14:54:03 +00:00
NativeRegisterContextLinux.cpp [LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support 2015-08-17 13:40:17 +00:00
NativeRegisterContextLinux.h Fix warnings found by -Wextra-semi 2015-07-22 08:12:01 +00:00
NativeRegisterContextLinux_arm.cpp Improve watchpoint error reporting specially for arm/aarch64 targets 2016-06-27 12:35:41 +00:00
NativeRegisterContextLinux_arm.h Allow unaligned byte/word selection watchpoints for arm- linux/android targets. 2016-06-27 11:18:23 +00:00
NativeRegisterContextLinux_arm64.cpp Improve watchpoint error reporting specially for arm/aarch64 targets 2016-06-27 12:35:41 +00:00
NativeRegisterContextLinux_arm64.h Allow installing watchpoints at less than 8-byte alligned addresses for AArch64 targets 2016-06-16 16:41:22 +00:00
NativeRegisterContextLinux_mips64.cpp [LLVM][MIPS] Revert support for FRE. 2016-07-18 12:37:44 +00:00
NativeRegisterContextLinux_mips64.h [LLDB][MIPS] Adding call to IsMSAAvailable() while creating RegisterInfoInterface 2015-12-09 12:31:01 +00:00
NativeRegisterContextLinux_s390x.cpp Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
NativeRegisterContextLinux_s390x.h Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
NativeRegisterContextLinux_x86_64.cpp PTRACE ABI to read FXSAVE area for 32-bit inferior 2015-12-02 09:40:17 +00:00
NativeRegisterContextLinux_x86_64.h Bug 24457 - X87 FPU Special Purpose Registers 2015-09-07 07:40:16 +00:00
NativeThreadLinux.cpp Work around a stepping bug in arm64 android M 2016-02-23 13:56:30 +00:00
NativeThreadLinux.h Work around a stepping bug in arm64 android M 2016-02-23 13:56:30 +00:00
ProcFileReader.cpp Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
ProcFileReader.h Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
Procfs.h Remove unused mips typedefs. 2015-12-12 02:13:17 +00:00
SingleStepCheck.cpp Work around a stepping bug in arm64 android M 2016-02-23 13:56:30 +00:00
SingleStepCheck.h Work around a stepping bug in arm64 android M 2016-02-23 13:56:30 +00:00