Skip to content
Unverified Commit f22d82ce authored by Med Ismail Bennani's avatar Med Ismail Bennani Committed by GitHub
Browse files

[lldb/Interpreter] Make ScriptedInterface Object creation more generic (#68052)



This patch changes the way plugin objects used with Scripted Interfaces
are created.

Instead of implementing a different SWIG method to create the object for
every scripted interface, this patch makes the creation more generic by
re-using some of the ScriptedPythonInterface templated Dispatch code.

This patch also improves error handling of the object creation by
returning an `llvm::Expected`.

Signed-off-by: default avatarMed Ismail Bennani <ismail@bennani.ma>

Signed-off-by: default avatarMed Ismail Bennani <ismail@bennani.ma>
parent 7ce613fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment