[lldb/Interpreter] Add requirements to Scripted Interface abstract methods (#109063)
This patch adds new requirements to the Scripted Interface abstract method checker to check the minimum number of argument for abstract methods. This check is done when creating the interface object so the object is not created if the user implementation doesn't match the abstract method requirement. Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
1 parent
1335a11176
commit
21026073e3
7 files changed
+158
-54
No files matched your search
+2
-1
@@ -30,7 +30,8 @@ public:
|
||||
lldb::ThreadPlanSP thread_plan_sp,
|
||||
const StructuredDataImpl &args_sp) override;
|
||||
|
||||
llvm::SmallVector<llvm::StringLiteral> GetAbstractMethods() const override {
|
||||
llvm::SmallVector<AbstractMethodRequirement>
|
||||
GetAbstractMethodRequirements() const override {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user