[clang] [llvm] [Triple] Make an target triple "os" for firmware (PR #176272)
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 08:33:00 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)
----------------
compnerd wrote:
This allows parsing without a vendor check. Is the vendor check elsewhere?
https://github.com/llvm/llvm-project/pull/176272
More information about the cfe-commits
mailing list