case MachO::PLATFORM_TVOS: return "tvos";
case MachO::PLATFORM_WATCHOS: return "watchos";
case MachO::PLATFORM_BRIDGEOS: return "bridgeos";
- case MachO::PLATFORM_MACCATALYST: return "maccatalyst";
+ case MachO::PLATFORM_MACCATALYST: return "macCatalyst";
case MachO::PLATFORM_IOSSIMULATOR: return "iossimulator";
case MachO::PLATFORM_TVOSSIMULATOR: return "tvossimulator";
case MachO::PLATFORM_WATCHOSSIMULATOR: return "watchossimulator";
.Case("ios", MachO::PLATFORM_IOS)
.Case("tvos", MachO::PLATFORM_TVOS)
.Case("watchos", MachO::PLATFORM_WATCHOS)
- .Case("maccatalyst", MachO::PLATFORM_MACCATALYST)
+ .Case("macCatalyst", MachO::PLATFORM_MACCATALYST)
.Default(0);
if (Platform == 0)
return Error(PlatformLoc, "unknown platform name");
; RUN: llc %s -o - | FileCheck %s
target triple="x86_64-apple-ios13.0-macabi"
-; CHECK: .build_version maccatalyst, 13, 0
+; CHECK: .build_version macCatalyst, 13, 0
// RUN: llvm-mc -triple x86_64-apple-ios %s | FileCheck %s
-.build_version maccatalyst,13,0
-// CHECK: .build_version maccatalyst, 13, 0
+.build_version macCatalyst,13,0
+// CHECK: .build_version macCatalyst, 13, 0