From 70d39123908e29cde9fbfb540869e03ab86694e3 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 31 Jul 2022 18:10:28 -0700 Subject: update Target, CPU, OS, ABI, etc. to LLVM 15 --- src/stage1/zig0.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/stage1/zig0.cpp') 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(); } -- cgit v1.2.3