summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2019-03-04 21:51:03 +0000
committerZachary Turner <zturner@google.com>2019-03-04 21:51:03 +0000
commit805e71060edac61fd8b583f8c62bd2df36d04076 (patch)
tree4e7dc318e7802dd86afddffff2ac9d1180a0def2 /lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
parent0ca4f84f2f550f790d1868df8f6a7dfe8164e171 (diff)
downloadbcm5719-llvm-805e71060edac61fd8b583f8c62bd2df36d04076.tar.gz
bcm5719-llvm-805e71060edac61fd8b583f8c62bd2df36d04076.zip
Move ProcessInfo from Host to Utility.
There are set of classes in Target that describe the parameters of a process - e.g. it's PID, name, user id, and similar. However, since it is a bare description of a process and contains no actual functionality, there's nothing specifically that makes this appropriate for being in Target -- it could just as well be describing a process on the host, or some hypothetical virtual process that doesn't even exist. To cement this, I'm moving these classes to Utility. It's possible that we can find a better place for it in the future, but as it is neither Host specific nor Target specific, Utility seems like the most appropriate place for the time being. After this there is only 2 remaining references to Target from Host, which I'll address in a followup. Differential Revision: https://reviews.llvm.org/D58842 llvm-svn: 355342
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
index 1ba9419b07a..6acaa5af657 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
@@ -16,11 +16,11 @@
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
-#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Log.h"
+#include "lldb/Utility/ProcessInfo.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
@@ -29,6 +29,10 @@
using namespace lldb;
using namespace lldb_private;
+namespace lldb_private {
+class Process;
+}
+
//------------------------------------------------------------------
// Static Variables
//------------------------------------------------------------------
OpenPOWER on IntegriCloud