mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Turn off debugging while parsing other modules.
|
||||||
|
llvm::SaveAndRestore<bool> turnOffDebug(Ctx.LangOpts.DebugConstraintSolver,
|
||||||
|
false);
|
||||||
|
|
||||||
unsigned bufferID = Ctx.SourceMgr.AddNewSourceBuffer(inputFile.take(),
|
unsigned bufferID = Ctx.SourceMgr.AddNewSourceBuffer(inputFile.take(),
|
||||||
moduleID.second.Value);
|
moduleID.second.Value);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user