mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When we fall back to loading an arm64e module interface during an arm64 build, we want to compile it for the arm64 target so that it is fully compatible with the module that will load it, even though the flags in the file specify the arm64e target. Rewrite the sub-invocation's TargetTriple property in this specific situation. If the two targets differ by more than just the sub-architecture, we will continue to respect the -target flag in the file. Fixes <rdar://83056545>.
76 KiB
76 KiB