diff options
author | Pavel Labath <labath@google.com> | 2018-04-17 18:53:35 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-04-17 18:53:35 +0000 |
commit | 145d95c9647987a635c7598f3b888546c0445c72 (patch) | |
tree | 8a8155b61b2a3da62489c0f1c6e3b7b8a971a3b4 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 617e26152dea71efc44a45f5ae034f15c92767f0 (diff) | |
download | bcm5719-llvm-145d95c9647987a635c7598f3b888546c0445c72.tar.gz bcm5719-llvm-145d95c9647987a635c7598f3b888546c0445c72.zip |
Move Args.cpp from Interpreter to Utility
Summary:
The Args class is used in plenty of places besides the command
interpreter (e.g., anything requiring an argc+argv combo, such as when
launching a process), so it needs to be in a lower layer. Now that the
class has no external dependencies, it can be moved down to the Utility
module.
This removes the last (direct) dependency from the Host module to
Interpreter, so I remove the Interpreter module from Host's dependency
list.
Reviewers: zturner, jingham, davide
Subscribers: mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D45480
llvm-svn: 330200
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index c2f5229c674..da5110907f1 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -21,7 +21,6 @@ #include "lldb/Host/Host.h" #include "lldb/Host/OptionParser.h" #include "lldb/Host/StringConvert.h" -#include "lldb/Interpreter/Args.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" #include "lldb/Interpreter/OptionArgParser.h" @@ -32,6 +31,7 @@ #include "lldb/Target/Target.h" #include "lldb/Target/Thread.h" #include "lldb/Target/UnixSignals.h" +#include "lldb/Utility/Args.h" using namespace lldb; using namespace lldb_private; |