================
@@ -697,6 +698,21 @@ class Target : public std::enable_shared_from_this<Target>,
   Status Attach(ProcessAttachInfo &attach_info,
                 Stream *stream); // Optional stream to receive first stop info
 
+  // Frame provider methods
+
+  /// Set the scripted frame provider descriptor for this target.
+  /// All new threads in this target will use this descriptor to create their
+  /// frame providers.
+  Status SetScriptedFrameProviderDescriptor(
----------------
jimingham wrote:

Also, how can this call fail?  If it can't fail (the implementation doesn't do 
anything that can fail) then we shouldn't return an error here.  The target 
can't realize the class backed by the ScriptedFrameProviderDescriptor at this 
point, so I don't see how it could validate anything.

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

Reply via email to