================
@@ -180,7 +184,19 @@ class CommandObjectPlatformSelect : public 
CommandObjectParsed {
             m_interpreter, ArchSpec(), select, error, platform_arch));
         if (platform_sp) {
           GetDebugger().GetPlatformList().SetSelectedPlatform(platform_sp);
-
+          OptionGroupPythonClassWithDict &script_class_opts =
----------------
labath wrote:

Okay, this is better, though a more user-focused error message would be even 
better ("platform XXX does not support scripting metadata" ?) I'm less worried 
about what happens in the SB API version, though if the operation can fail for 
more than one reason, then it might be a good idea to add an `SBError&` to the 
appropriate constructor.

https://github.com/llvm/llvm-project/pull/99814
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to