mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Turn off debugging dumps when we're parsing imported sources.
Swift SVN r5287
This commit is contained in:
@@ -93,6 +93,10 @@ Module *SourceLoader::loadModule(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Turn off debugging while parsing other modules.
|
||||
llvm::SaveAndRestore<bool> turnOffDebug(Ctx.LangOpts.DebugConstraintSolver,
|
||||
false);
|
||||
|
||||
unsigned bufferID = Ctx.SourceMgr.AddNewSourceBuffer(inputFile.take(),
|
||||
moduleID.second.Value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user