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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 22 14:22:35 PDT 2024


================
@@ -299,6 +301,35 @@ SBPlatform::SBPlatform(const char *platform_name) {
   m_opaque_sp = Platform::Create(platform_name);
 }
 
+SBPlatform::SBPlatform(const char *platform_name, const SBDebugger &debugger,
+                       const char *script_name, const SBStructuredData &dict)
+    : SBPlatform(platform_name) {
+  LLDB_INSTRUMENT_VA(this, platform_name, debugger, script_name, dict);
+
+  if (!m_opaque_sp)
----------------
bulbazord wrote:

Does this mean it isn't going to be possible to define a completely different/standalone platform that lldb doesn't know about a priori with scripted platforms?

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


More information about the lldb-commits mailing list