From fec6d168bbdf5116d2f7aaa52f0f429916af4f2d Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Sat, 8 Feb 2025 15:50:52 -0800 Subject: [lldb] Upstream a few remaining Triple::XROS patches (#126335) Recognize the visionOS Triple::OSType::XROS os type. Some of these have already been landed on main, but I reviewed the downstream sources and there were a few that still needed to be landed upstream. --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp index c2fe05ca..67ba42f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -212,6 +212,8 @@ GDBRemoteCommunicationServerCommon::Handle_qHostInfo( response.PutCString("ostype:tvos;"); #elif defined(TARGET_OS_WATCH) && TARGET_OS_WATCH == 1 response.PutCString("ostype:watchos;"); +#elif defined(TARGET_OS_XR) && TARGET_OS_XR == 1 + response.PutCString("ostype:xros;"); #elif defined(TARGET_OS_BRIDGE) && TARGET_OS_BRIDGE == 1 response.PutCString("ostype:bridgeos;"); #else -- cgit v1.1