[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


================
@@ -100,6 +99,9 @@ class LLDB_API SBPlatform {
 
   SBPlatform(const char *platform_name);
 
+  SBPlatform(const char *platform_name, const SBDebugger &debugger,
+             const char *script_name, const SBStructuredData &dict);
+
----------------
clayborg wrote:

is `script_name` the name of a class or a function? If it is a class that implements the platform API, then should we avoid passing in `platform_name` and have that name be discovered by a call to the platform class itself?

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


More information about the lldb-commits mailing list