[clang] macCatalyst: add SDKSettings.json as a dependency file if its potentially needed by the compiler (PR #177748)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 10:53:44 PST 2026
================
@@ -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) &&
----------------
ian-twilightcoder wrote:
Alright fine.
https://github.com/llvm/llvm-project/pull/177748
More information about the cfe-commits
mailing list