================
@@ -35,6 +37,35 @@ ScriptedBreakpointPythonInterface::CreatePluginObject(
                                                      break_sp, args_sp);
 }
 
+bool ScriptedBreakpointPythonInterface::OverridesResolver(
+    Target &target, StructuredDataImpl &resolver_data) {
+  Status error;
+
+  TargetSP target_sp = target.shared_from_this();
+
+  StructuredData::ObjectSP obj =
+      Dispatch("overrides_resolver", error, target_sp, resolver_data);
+
+  if (!ScriptedInterface::CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, obj,
+                                                    error)) {
+    Log *log = GetLog(LLDBLog::Script);
+    LLDB_LOG(log, "Error calling overrides_resolver method: {1}", error);
----------------
JDevlieghere wrote:

```suggestion
    LLDB_LOG(log, "Error calling overrides_resolver method: {0}", error);
```

https://github.com/llvm/llvm-project/pull/195392
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to