forked from OSchip/llvm-project
Update TODO noting that DriverKit should be added too
When BridgeOS and DriverKit are added to llvm Triple.
This commit is contained in:
parent
1e39d32c5a
commit
809652c93b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue