[clang] [llvm] [Triple] Make an target triple "os" for firmware (PR #176272)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 00:32:13 PST 2026
================
@@ -356,13 +356,17 @@ class LLVM_LIBRARY_VISIBILITY Darwin : public AppleMachO {
mutable bool TargetInitialized;
enum DarwinPlatformKind {
+ // Platforms with associated *_DEPLOYMENT_TARGET environment variables.
MacOS,
IPhoneOS,
TvOS,
WatchOS,
DriverKit,
XROS,
- LastDarwinPlatform = XROS
+ LastDarwinPlatform = XROS,
+
+ // Additional platforms.
+ Firmware,
----------------
ian-twilightcoder wrote:
Actually the more I look at this, there's no real reason to insist on an environment variable for every Darwin Platform, I'm just going to get rid of `LastDarwinPlatform`
https://github.com/llvm/llvm-project/pull/176272
More information about the cfe-commits
mailing list