Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion llvm/lib/TextAPI/Platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ PlatformType mapToPlatformType(const Triple &Target) {
case Triple::WatchOS:
return Target.isSimulatorEnvironment() ? PLATFORM_WATCHOSSIMULATOR
: PLATFORM_WATCHOS;
// TODO: add bridgeOS & driverKit once in llvm::Triple
case Triple::DriverKit:
return PLATFORM_DRIVERKIT;
case Triple::XROS:
return Target.isSimulatorEnvironment() ? PLATFORM_XROS_SIMULATOR
: PLATFORM_XROS;
}
}

Expand Down