Turn off debugging dumps when we're parsing imported sources.

Swift SVN r5287
This commit is contained in:
Doug Gregor
2013-05-23 22:05:33 +00:00
parent 792af791e6
commit 656083d14a

View File

@@ -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);