[lldb/Interpreter] Introduce ScriptedPlatform{,Python}Interface
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Thu, 12 Jan 2023 07:27:39 +0000 (23:27 -0800)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Thu, 12 Jan 2023 20:49:05 +0000 (12:49 -0800)
commitb1256f2345f6c48b08cd8691778f39e3e9053f56
treee6ef06919b8af0a99c101c22d1082a6e55a9cc9a
parentbb4ccc6688893d1bf38cfca76620d84f947b9de1
[lldb/Interpreter] Introduce ScriptedPlatform{,Python}Interface

This patch introduces both the ScriptedPlatformInterface and the
ScriptedPlatformPythonInterface. As the name suggests, these calls will
be used to call into the Scripted Platform python implementation from
the C++ Scripted Platform plugin instance.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Interpreter/ScriptedPlatformInterface.h [new file with mode: 0644]
lldb/include/lldb/lldb-forward.h
lldb/source/Interpreter/ScriptInterpreter.cpp
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.cpp [new file with mode: 0644]
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.h [new file with mode: 0644]