mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ModuleInterface: avoid verifying textual interfaces without -enable-library-evolution
Textual interfaces without -enable-library-evolution aren't properly supported. We should avoid verifying them too. rdar://68223978
This commit is contained in:
@@ -2217,6 +2217,7 @@ void Driver::buildActions(SmallVectorImpl<const Action *> &TopLevelActions,
|
||||
#endif
|
||||
|
||||
if (MergeModuleAction
|
||||
&& Args.hasArg(options::OPT_enable_library_evolution)
|
||||
&& Args.hasFlag(options::OPT_verify_emitted_module_interface,
|
||||
options::OPT_no_verify_emitted_module_interface,
|
||||
verifyInterfacesByDefault)) {
|
||||
|
||||
Reference in New Issue
Block a user