================
@@ -3289,6 +3289,18 @@ void Darwin::addClangTargetOptions(
 
   addClangCC1ASTargetOptions(DriverArgs, CC1Args);
 
+  if (SDKInfo) {
+    // Make the SDKSettings.json an explicit dependency for the compiler
+    // invocation, in case the compiler needs to read it to remap macCatalyst
+    // versions.
+    if ((isTargetMacCatalyst() || TargetVariantTriple) &&
----------------
cachemeifyoucan wrote:

That shouldn't be the goal of upstreaming. I think we should just make this 
right.

https://github.com/llvm/llvm-project/pull/177748
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to