================ @@ -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 = ---------------- medismailben wrote:
So `Platform::SetMetadata` returns void, but `Platform::ReloadMetadata` returns an `llvm::Error` as you can see down below (line 196). When setting it from the command line, the user will see an error message and the command interpreter however from the SBAPI, since this is called from the `SBPlatform` constructor, there is no way to do error reporting (without adding an overload for the constructor), so the error is consumed and logged to the `lldb platform` channel. 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