Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 25, 2023

Commits on Oct 25, 2023

  1. [lldb/Interpreter] Make ScriptedInterface Object creation more generic

    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: Med Ismail Bennani <ismail@bennani.ma>
    medismailben committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    ef90c8a View commit details
    Browse the repository at this point in the history