[lldb/Interpreter] Make ScriptedProcessInfo more generic
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Mon, 5 Dec 2022 21:54:21 +0000 (13:54 -0800)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Thu, 12 Jan 2023 20:49:05 +0000 (12:49 -0800)
commitd9f4d1b048520c50ca06e24b7886d77d3bb2fc29
treec1edef810047d83881fd26635a0c6813faccc0a4
parentc17e40ba52f3946baec60c3b5feb182e6b3faefe
[lldb/Interpreter] Make ScriptedProcessInfo more generic

This patch moves the ScriptedProcessInfo class out of the
ScriptedProcess and hoist it as a standalone interpreter class, so it can be
reused with the Scripted Platform.

Differential Revision: https://reviews.llvm.org/D139247

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/include/lldb/Interpreter/ScriptedMetadata.h [new file with mode: 0644]
lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
lldb/source/Plugins/Process/scripted/ScriptedProcess.h
lldb/source/Plugins/Process/scripted/ScriptedThread.cpp