[lldb/Interpreter] Improve ScriptedPythonInterface::GetStatusFromMethod
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Fri, 16 Dec 2022 14:26:55 +0000 (06:26 -0800)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Thu, 12 Jan 2023 20:49:05 +0000 (12:49 -0800)
commit3fbc89048517e7152cce763db3b1e5738d558113
tree92319b9ae3eb52b77c8fcf90801a199a27a278bb
parentd9f4d1b048520c50ca06e24b7886d77d3bb2fc29
[lldb/Interpreter] Improve ScriptedPythonInterface::GetStatusFromMethod

This patch makes `ScriptedPythonInterface::GetStatusFromMethod` take a
parameter pack as an argument. That will allow it to pass arbitrary
arguments to the python method.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h