llvm-project/clang/lib/Serialization
Ben Langmuir eb8bd2d9b3 Workaround a performance issue with modules + PCH
More fallout from r228234; when looking up an identifier in a PCH that
imports the Cocoa module on Darwin, it was taking 2 to 5 seconds
because we were hammering the MapVector::erase() function, which is
O(n).  For now, just clear() the contained SmallVector to get back to
0.25 - 0.5 seconds.  This is probably not the long-term fix, because
without modules or without PCH the performance is more like 0.02
seconds.

llvm-svn: 234655
2015-04-10 22:25:42 +00:00
..
ASTCommon.cpp Replace Sema's map of locally-scoped extern "C" declarations with a DeclContext 2015-03-07 00:04:49 +00:00
ASTCommon.h [modules] If we reach a definition of a class for which we already have a 2015-03-26 04:09:53 +00:00
ASTReader.cpp Workaround a performance issue with modules + PCH 2015-04-10 22:25:42 +00:00
ASTReaderDecl.cpp [modules] When merging class definitions, make the retained definition visible 2015-03-27 21:16:39 +00:00
ASTReaderInternals.h Objective-C: Serialize "more than one decl" state of ObjCMethodList. 2014-12-27 22:14:15 +00:00
ASTReaderStmt.cpp [OPENMP] Codegen for 'reduction' clause in 'parallel' directive. 2015-04-10 10:43:45 +00:00
ASTWriter.cpp [modules] Remove unused MACRO_TABLE record. 2015-04-10 02:02:24 +00:00
ASTWriterDecl.cpp [Modules] Work around PR23030 again, in a different code path, where 2015-03-27 21:40:58 +00:00
ASTWriterStmt.cpp [OPENMP] Codegen for 'reduction' clause in 'parallel' directive. 2015-04-10 10:43:45 +00:00
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
GeneratePCH.cpp Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
GlobalModuleIndex.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
Makefile
Module.cpp [modules] Deserialize CXXCtorInitializer list for a constructor lazily. 2015-03-24 06:36:48 +00:00
ModuleManager.cpp A couple of readASTFileSignature improvements (NFC) 2015-03-24 04:43:52 +00:00