diff options
author | Jason Molenda <jmolenda@apple.com> | 2025-02-08 15:50:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-08 15:50:52 -0800 |
commit | fec6d168bbdf5116d2f7aaa52f0f429916af4f2d (patch) | |
tree | 8e7103ecfe94e83dd49e88d39cae9b494b506c08 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | 8e61aae4a8ce938f42604b10123c3b21d4adc0b8 (diff) | |
download | llvm-fec6d168bbdf5116d2f7aaa52f0f429916af4f2d.zip llvm-fec6d168bbdf5116d2f7aaa52f0f429916af4f2d.tar.gz llvm-fec6d168bbdf5116d2f7aaa52f0f429916af4f2d.tar.bz2 |
[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.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |