mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #34472 from bnbarham/benb/allow-errors-69815975
[Serialization] Add an option to output modules regardless of errors
This commit is contained in:
@@ -1153,7 +1153,8 @@ static void countStatsPostSILOpt(UnifiedStatsReporter &Stats,
|
||||
}
|
||||
|
||||
bool CompilerInstance::performSILProcessing(SILModule *silModule) {
|
||||
if (performMandatorySILPasses(Invocation, silModule))
|
||||
if (performMandatorySILPasses(Invocation, silModule) &&
|
||||
!Invocation.getFrontendOptions().AllowModuleWithCompilerErrors)
|
||||
return true;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user