[lldb/Utility] Fix layering violation caused by ScriptedMetadata
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Mon, 6 Mar 2023 19:53:09 +0000 (11:53 -0800)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Mon, 6 Mar 2023 21:14:15 +0000 (13:14 -0800)
commit601583e5a3083b87b48bc6747c12dc0027b09481
treea71b4f1d531325a5f624d9fbed7743ca56d8f3b9
parent70b9822ef3b0774609c72d380504c9abfa717f81
[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>
lldb/include/lldb/Interpreter/ScriptedMetadata.h [deleted file]
lldb/include/lldb/Utility/ScriptedMetadata.h [new file with mode: 0644]
lldb/source/API/SBAttachInfo.cpp
lldb/source/API/SBLaunchInfo.cpp
lldb/source/Commands/CommandObjectPlatform.cpp
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
lldb/source/Plugins/Process/scripted/ScriptedProcess.h
lldb/source/Utility/ProcessInfo.cpp