[Lldb-commits] [lldb] [lldb/Plugins] Introduce Scripted Platform Plugin (PR #99814)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 5 22:59:02 PDT 2024


================
@@ -111,6 +111,7 @@ class SBStructuredData {
 protected:
   friend class SBAttachInfo;
   friend class SBLaunchInfo;
+  friend class SBPlatform;
   friend class SBDebugger;
   friend class SBTarget;
   friend class SBProcess;
----------------
clayborg wrote:

We keep friending new classes in all of the `lldb::SB` header files. I wonder if we should create a single class inside of lldb that has all of the abilities to access the private methods of any `lldb::SB` classes and then have a bunch of static calls on this one class that everyone internally can use?

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


More information about the lldb-commits mailing list