diff options
author | Zachary Turner <zturner@google.com> | 2019-03-04 21:51:03 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2019-03-04 21:51:03 +0000 |
commit | 805e71060edac61fd8b583f8c62bd2df36d04076 (patch) | |
tree | 4e7dc318e7802dd86afddffff2ac9d1180a0def2 /lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp | |
parent | 0ca4f84f2f550f790d1868df8f6a7dfe8164e171 (diff) | |
download | bcm5719-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/PlatformDarwin.cpp')
-rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp index e3cf3f7d36f..692b4517830 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp @@ -31,6 +31,7 @@ #include "lldb/Target/Process.h" #include "lldb/Target/Target.h" #include "lldb/Utility/Log.h" +#include "lldb/Utility/ProcessInfo.h" #include "lldb/Utility/Status.h" #include "lldb/Utility/Timer.h" #include "llvm/ADT/STLExtras.h" |