[clang] [llvm] [Triple] Make an target triple "os" for firmware (PR #176272)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 10:57:32 PST 2026
================
@@ -757,6 +759,7 @@ static Triple::OSType parseOS(StringRef OSName) {
.StartsWith("vulkan", Triple::Vulkan)
.StartsWith("cheriotrtos", Triple::CheriotRTOS)
.StartsWith("chipstar", Triple::ChipStar)
+ .StartsWith("firmware", Triple::Firmware)
----------------
ian-twilightcoder wrote:
The vendor check is in https://github.com/llvm/llvm-project/pull/176272/files#diff-f8c64e36dfe3828a6f816c4550e78bb0305769ace1be53207e86ac9a3280ac9eR684
https://github.com/llvm/llvm-project/pull/176272
More information about the cfe-commits
mailing list