Serialize decls with _specialize(exported:true, target: somefunc(_:), ...) in a list for fast lookup

rdar://71430641
This commit is contained in:
Arnold Schwaighofer
2020-12-11 07:36:45 -08:00
parent f4e74f7907
commit 2b6ba2830c
13 changed files with 98 additions and 40 deletions

View File

@@ -685,6 +685,9 @@ bool ModuleFileSharedCore::readIndexBlock(llvm::BitstreamCursor &cursor) {
case index_block::ORDERED_TOP_LEVEL_DECLS:
allocateBuffer(OrderedTopLevelDecls, scratch);
break;
case index_block::EXPORTED_PRESPECIALIZATION_DECLS:
allocateBuffer(ExportedPrespecializationDecls, scratch);
break;
case index_block::LOCAL_TYPE_DECLS:
LocalTypeDecls = readLocalDeclTable(scratch, blobData);
break;