mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add flag to verify just-emitted module interfaces
The driver can now schedule jobs which typecheck just-emitted module interfaces to ensure that they can be consumed later. This can be enabled manually by passing `-verify-emitted-module-interface` to the driver.
This commit is contained in:
@@ -33,6 +33,7 @@ const char *Action::getClassName(Kind AC) {
|
||||
case Kind::GenerateDSYMJob: return "generate-dSYM";
|
||||
case Kind::VerifyDebugInfoJob: return "verify-debug-info";
|
||||
case Kind::GeneratePCHJob: return "generate-pch";
|
||||
case Kind::VerifyModuleInterfaceJob: return "verify-module-interface";
|
||||
}
|
||||
|
||||
llvm_unreachable("invalid class");
|
||||
@@ -65,3 +66,5 @@ void GenerateDSYMJobAction::anchor() {}
|
||||
void VerifyDebugInfoJobAction::anchor() {}
|
||||
|
||||
void GeneratePCHJobAction::anchor() {}
|
||||
|
||||
void VerifyModuleInterfaceJobAction::anchor() {}
|
||||
|
||||
Reference in New Issue
Block a user