[lldb] [Platform] Move common ::DebugProcess() to PlatformPOSIX
authorMichał Górny <mgorny@moritz.systems>
Mon, 5 Oct 2020 21:07:00 +0000 (23:07 +0200)
committerMichał Górny <mgorny@moritz.systems>
Tue, 6 Oct 2020 12:38:54 +0000 (14:38 +0200)
commita825eaa90e2419e3e9ae64ec047440ce98e7bacb
tree4ac31df801ac8f9f912d5cdfff58e915dc8503fb
parent21100f885d5bab4105ed2630b480b03d466f3da9
[lldb] [Platform] Move common ::DebugProcess() to PlatformPOSIX

Move common ::DebugProcess() implementation shared by Linux and NetBSD
(and to be shared by FreeBSD shortly) into PlatformPOSIX, and move
the old base implementation used only by Darwin to PlatformDarwin.

Differential Revision: https://reviews.llvm.org/D88852
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
lldb/source/Plugins/Platform/Linux/PlatformLinux.h
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp