Update TODO noting that DriverKit should be added too

When BridgeOS and DriverKit are added to llvm Triple.
This commit is contained in:
Jason Molenda 2021-10-06 19:54:33 -07:00
parent 1e39d32c5a
commit 809652c93b
1 changed files with 8 additions and 4 deletions

View File

@ -4997,10 +4997,14 @@ struct OSEnv {
case llvm::MachO::PLATFORM_WATCHOS:
os_type = llvm::Triple::getOSTypeName(llvm::Triple::WatchOS);
return;
// NEED_BRIDGEOS_TRIPLE case llvm::MachO::PLATFORM_BRIDGEOS:
// NEED_BRIDGEOS_TRIPLE os_type =
// llvm::Triple::getOSTypeName(llvm::Triple::BridgeOS);
// NEED_BRIDGEOS_TRIPLE return;
// TODO: add BridgeOS & DriverKit once in llvm/lib/Support/Triple.cpp
// NEED_BRIDGEOS_TRIPLE
// case llvm::MachO::PLATFORM_BRIDGEOS:
// os_type = llvm::Triple::getOSTypeName(llvm::Triple::BridgeOS);
// return;
// case llvm::MachO::PLATFORM_DRIVERKIT:
// os_type = llvm::Triple::getOSTypeName(llvm::Triple::DriverKit);
// return;
case llvm::MachO::PLATFORM_MACCATALYST:
os_type = llvm::Triple::getOSTypeName(llvm::Triple::IOS);
environment = llvm::Triple::getEnvironmentTypeName(llvm::Triple::MacABI);