================
@@ -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:
It's fine to start with one ProviderDescriptor here, but there are now two ways
you might end up wanting more than one of these:
1) Your program has some threads that are interesting to one provider, and a
non-overlapping set that are interesting to another provider. Since you allow
filtering, this is an easy thing to imagine happening.
2) Some might be doing something clever by stacking these filters for the same
thread.
We should be prepared to extend this to an ordered list of provider
descriptors. One easy way to get started with this is to only support #1, and
use a first match strategy for a given thread.
https://github.com/llvm/llvm-project/pull/161870
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits