Commit Graph

4 Commits

Author SHA1 Message Date
Becca Royal-Gordon
9358d7644a [NFC] Start separating DummyFramework
DummyFramework.framework has two different properties to support two different kinds of test cases: to support ModuleInterface/build-alternative-interface-framework.swift, its macOS interfaces are broken, but to support ModuleInterface/arm64e-fallback.swift, it supports only arm64, not arm64e, on iOS. The arm64e test's behavior is about to change, which will complicate all of this. As a preliminary step, make the two tests use two different frameworks so they aren't so intertwined.

This temporarily keeps the arm64e test using the name "DummyFramework", but that will change.
2021-08-27 14:50:56 -07:00
Luciano Almeida
1fc7f07d9b [tests] Make sure to build module interface test dummy library for arm64e 2021-07-28 20:14:07 -03:00
Luciano Almeida
c5ad28779d [tests] Run module interface build alternative interface test in dynamic target cpu 2021-07-28 18:35:05 -03:00
Xi Ge
b6cd513534 Frontend: teach the compiler to use a backup directory to find .swiftinterface files to compile
This mechanism allows the compiler to use a backup interface file to build into a binary module when
a corresponding interface file from the SDK is failing for whatever reasons. This mechansim should be entirely opaque
to end users except several diagnostic messages communicating backup interfaces are used.

Part of rdar://77676064
2021-05-13 09:11:45 -07:00