[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
Mon Nov 6 14:13:15 PST 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:

Ok, I'll make the the base class abstract, and return a nullptr in `ScriptInterpreter::CreateScripted*Interface` in a follow-up, that should - hopefully - address all the confusion.

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


More information about the lldb-commits mailing list