[clang] [llvm] [clang][driver][darwin] Base the system prefix on the SDK, not the target (PR #171970)

Cyndy Ishida via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 23 09:22:12 PST 2025


================
@@ -28,6 +32,38 @@ namespace clang {
 /// The information about the darwin SDK that was used during this compilation.
 class DarwinSDKInfo {
 public:
+  /// Information about the supported platforms in the SDK
+  struct SupportedPlatform {
----------------
cyndyishida wrote:

I suggest something more flexible like `SDKPlatformInfo` or `DarwinSDKCtx`. `Platform` is already pretty analogous to OSType throughout the codebase so I'd prefer to not conflate that understanding.  

https://github.com/llvm/llvm-project/pull/171970


More information about the llvm-commits mailing list