diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/TextAPI/Platform.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/TextAPI/Platform.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/TextAPI/Platform.cpp b/contrib/llvm-project/llvm/lib/TextAPI/Platform.cpp index ed041af40aa5..e891594300c2 100644 --- a/contrib/llvm-project/llvm/lib/TextAPI/Platform.cpp +++ b/contrib/llvm-project/llvm/lib/TextAPI/Platform.cpp @@ -106,6 +106,10 @@ std::string getOSAndEnvironmentName(PlatformType Platform, return "watchos" + Version + "-simulator"; case PLATFORM_DRIVERKIT: return "driverkit" + Version; + case PLATFORM_XROS: + return "xros" + Version; + case PLATFORM_XROS_SIMULATOR: + return "xros" + Version + "-simulator"; } llvm_unreachable("Unknown llvm::MachO::PlatformType enum"); } |