aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/zig0.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-09-13 15:39:19 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-09-13 15:39:19 -0700
commit716d9237cb757c15217b21964fde8e755aabe853 (patch)
tree92760021e4d49af92db2d37701f4a303d32d69ac /src/stage1/zig0.cpp
parentfda6d44778f3faf53c66945a0db65be68113416f (diff)
parent0a4cfb81bcca0ca514758049f8d7d99224537f93 (diff)
downloadzig-716d9237cb757c15217b21964fde8e755aabe853.tar.gz
zig-716d9237cb757c15217b21964fde8e755aabe853.zip
Merge remote-tracking branch 'origin/llvm15'
Upgrade to LLVM 15
Diffstat (limited to 'src/stage1/zig0.cpp')
-rw-r--r--src/stage1/zig0.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stage1/zig0.cpp b/src/stage1/zig0.cpp
index f248f6e866..ea0c397243 100644
--- a/src/stage1/zig0.cpp
+++ b/src/stage1/zig0.cpp
@@ -112,6 +112,8 @@ static Os get_zig_os_type(ZigLLVM_OSType os_type) {
return OsAMDHSA;
case ZigLLVM_PS4:
return OsPS4;
+ case ZigLLVM_PS5:
+ return OsPS5;
case ZigLLVM_ELFIAMCU:
return OsELFIAMCU;
case ZigLLVM_TvOS:
@@ -132,6 +134,10 @@ static Os get_zig_os_type(ZigLLVM_OSType os_type) {
return OsWASI;
case ZigLLVM_Emscripten:
return OsEmscripten;
+ case ZigLLVM_DriverKit:
+ return OsDriverKit;
+ case ZigLLVM_ShaderModel:
+ return OsShaderModel;
}
zig_unreachable();
}