[clang] macCatalyst: add SDKSettings.json as a dependency file if its potentially needed by the compiler (PR #178077)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 15:47:49 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:
Steven showed me lit's `%if feature` thing. That should make the tests fixable I think, giving that a try.
https://github.com/llvm/llvm-project/pull/178077
More information about the cfe-commits
mailing list