Merge pull request #23910 from adrian-prantl/49751363

Record parseable interface imports in the debug info.
This commit is contained in:
adrian-prantl
2019-04-19 14:23:57 -07:00
committed by GitHub
13 changed files with 77 additions and 10 deletions

View File

@@ -400,6 +400,7 @@ FileUnit *SerializedModuleLoaderBase::loadAST(
// We've loaded the file. Now try to bring it into the AST.
auto fileUnit = new (Ctx) SerializedASTFile(M, *loadedModuleFile,
extendedInfo.isSIB());
fileUnit->setParseableInterface(extendedInfo.getParseableInterface());
M.addFile(*fileUnit);
if (extendedInfo.isTestable())
M.setTestingEnabled();