Change llvm_unreachable message from "Unknown llvm.MachO.PlatformKind
enum" to "Unknown llvm::MachO::PlatformKind enum".
Differential revision: https://reviews.llvm.org/D102250
case PlatformKind::watchOS:
return WantSim ? PlatformKind::watchOSSimulator : PlatformKind::watchOS;
}
- llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
+ llvm_unreachable("Unknown llvm::MachO::PlatformKind enum");
}
PlatformKind mapToPlatformKind(const Triple &Target) {
case PlatformKind::driverKit:
return "DriverKit";
}
- llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
+ llvm_unreachable("Unknown llvm::MachO::PlatformKind enum");
}
PlatformKind getPlatformFromName(StringRef Name) {