================ @@ -19,11 +19,11 @@ namespace lldb_private { class ScriptedPlatformInterface : virtual public ScriptedInterface { public: - StructuredData::GenericSP + virtual llvm::Expected<StructuredData::GenericSP> CreatePluginObject(llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, - StructuredData::Generic *script_obj = nullptr) override { - return {}; + StructuredData::Generic *script_obj = nullptr) { + llvm_unreachable("unimplemented!"); ---------------- JDevlieghere wrote:
Could this be a pure virtual method? If not maybe something like "Cannot create an instance of an interface" would be a more informative error message. https://github.com/llvm/llvm-project/pull/68052 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits