Skip to content

Commit d094ad2

Browse files
authored
Merge pull request #9984 from jasonmolenda/add-missing-xros-type-to-getsdktype
[lldb] add missing xros entry to GetSDKType
2 parents 785e824 + 8c523f9 commit d094ad2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ static XcodeSDK::Type GetSDKType(const llvm::Triple &target,
8888
if (is_simulator())
8989
return XcodeSDK::Type::WatchSimulator;
9090
return XcodeSDK::Type::watchOS;
91+
case llvm::Triple::OSType::XROS:
92+
if (is_simulator())
93+
return XcodeSDK::Type::XRSimulator;
94+
return XcodeSDK::Type::XROS;
9195
default:
9296
return XcodeSDK::Type::unknown;
9397
}

0 commit comments

Comments
 (0)