================ @@ -113,6 +130,10 @@ def _get_platform_os(p): platform = "openbsd" return platform + # Triple is not available if we're not connected yet + if p.GetName() == "remote-linux": + return "linux" + ---------------- dzhidzhoev wrote:
That may be relevant if _get_platform_os is called before the connection is established, or, for example, if it has failed to be established. But yeah, currently I'm not aware of such use cases. Should it be removed? https://github.com/llvm/llvm-project/pull/96654 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits