File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -423,10 +423,16 @@ std::optional<llvm::VersionTuple> get_os_version_constraint(const llvm::Triple &
423
423
return std::nullopt;
424
424
}
425
425
426
- if (triple.getOS () == llvm::Triple::MacOSX && triple.getArch () == llvm::Triple::x86_64 ) {
427
- // At time of writing (June 2024 ), this is one version prior
426
+ if (triple.isMacOSX () && triple.isX86 () ) {
427
+ // At time of writing (January 2025 ), this is one version prior
428
428
// to the oldest version still supported by Apple.
429
- return llvm::VersionTuple (11 , 0 , 0 );
429
+ return llvm::VersionTuple (12 , 0 , 0 );
430
+ }
431
+
432
+ if (triple.isiOS ()) {
433
+ // At time of writing (January 2025), this is one version prior
434
+ // to the oldest version still supported by Apple.
435
+ return llvm::VersionTuple (17 , 0 , 0 );
430
436
}
431
437
432
438
llvm::VersionTuple t = triple.getMinimumSupportedOSVersion ();
You can’t perform that action at this time.
0 commit comments