[Lldb-commits] [lldb] [lldb] Check for abstract methods implementation in Scripted Plugin Objects (PR #71260)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Sat Nov 4 19:49:35 PDT 2023


================
@@ -26,6 +26,10 @@ class ScriptedPlatformInterface : virtual public ScriptedInterface {
     return {llvm::make_error<UnimplementedError>()};
   }
 
+  llvm::SmallVector<llvm::StringLiteral> GetAbstractMethods() const override {
+    return {};
+  }
----------------
medismailben wrote:

If we don't implement this, we can't instantiate `ScriptedPlatformInterface` and that would be a problem for `ScriptedInterpreter::CreateScripted{Platform,Process,Thread}Interface`.

What do you think we should if we don't link against python and hence don't have a `ScriptedInterpreterPython` instance, to get each of the python interface instances ?

https://github.com/llvm/llvm-project/pull/71260


More information about the lldb-commits mailing list