aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2023-03-06 11:53:09 -0800
committerMed Ismail Bennani <medismail.bennani@gmail.com>2023-03-06 13:14:15 -0800
commit601583e5a3083b87b48bc6747c12dc0027b09481 (patch)
treea71b4f1d531325a5f624d9fbed7743ca56d8f3b9 /lldb/source/Commands/CommandObjectPlatform.cpp
parent70b9822ef3b0774609c72d380504c9abfa717f81 (diff)
downloadllvm-601583e5a3083b87b48bc6747c12dc0027b09481.zip
llvm-601583e5a3083b87b48bc6747c12dc0027b09481.tar.gz
llvm-601583e5a3083b87b48bc6747c12dc0027b09481.tar.bz2
[lldb/Utility] Fix layering violation caused by ScriptedMetadata
This patch moves `ScriptedMetadata.h` from the `Interpreter` directory to the `Utility` sub-directory since `ProcessInfo.h` depends on it. It also gets rid of the unused `OptionGroupPythonClassWithDict` constructor for `ScriptedMetadata` which would address the layering violation. Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index 213631a..60d3712 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -20,11 +20,11 @@
#include "lldb/Interpreter/OptionGroupFile.h"
#include "lldb/Interpreter/OptionGroupPlatform.h"
#include "lldb/Interpreter/OptionGroupPythonClassWithDict.h"
-#include "lldb/Interpreter/ScriptedMetadata.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Utility/Args.h"
+#include "lldb/Utility/ScriptedMetadata.h"
#include "llvm/ADT/SmallString.h"