[Lldb-commits] [lldb] [lldb/Target] Unify frame provider descriptor and chain IDs (PR #190712)

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 7 17:32:23 PDT 2026


================
@@ -36,6 +36,10 @@ struct ScriptedFrameProviderDescriptor {
   /// satisfies ANY of the specs in this vector (OR logic).
   std::vector<ThreadSpec> thread_specs;
 
+  /// Monotonically increasing ID assigned by Target when this descriptor is
+  /// registered. Zero means no ID has been assigned yet.
+  uint32_t m_id = 0;
----------------
jimingham wrote:

Can we make a define for this?  We have LLDB_INVALID_GLOBALLY_UNIQUE_TARGET_ID

But maybe something a little less specific like LLDB_INVALID_PROVIDER_ID so we could reuse it reasonable.

https://github.com/llvm/llvm-project/pull/190712


More information about the lldb-commits mailing list