clang/lib/Serialization
Richard Smith a2e36d21c0 Rework our handling of key functions. We used to track a complete list of all
dynamic classes in the translation unit and check whether each one's key
function is defined when we got to the end of the TU (and when we got to the
end of each module). This is really terrible for modules performance, since it
causes unnecessary deserialization of every dynamic class in every compilation.

We now use a much simpler (and, in a modules build, vastly more efficient)
system: when we see an out-of-line definition of a virtual function, we check
whether that function was in fact its class's key function. (If so, we need to
emit the vtable.)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230830 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-28 01:01:56 +00:00
..
ASTCommon.cpp [modules] Treat friend declarations that are lexically within a dependent 2015-02-07 03:11:11 +00:00
ASTCommon.h [modules] Treat friend declarations that are lexically within a dependent 2015-02-07 03:11:11 +00:00
ASTReader.cpp Rework our handling of key functions. We used to track a complete list of all 2015-02-28 01:01:56 +00:00
ASTReaderDecl.cpp [modules] When writing out a list of specializations for a template, if we have 2015-02-27 23:05:10 +00:00
ASTReaderInternals.h Objective-C: Serialize "more than one decl" state of ObjCMethodList. 2014-12-27 22:14:15 +00:00
ASTReaderStmt.cpp Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +00:00
ASTWriter.cpp Rework our handling of key functions. We used to track a complete list of all 2015-02-28 01:01:56 +00:00
ASTWriterDecl.cpp [modules] When writing out a list of specializations for a template, if we have 2015-02-27 23:05:10 +00:00
ASTWriterStmt.cpp Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +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 Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp Add a "signature" to AST files to verify that they haven't changed 2014-10-23 18:05:36 +00:00
ModuleManager.cpp Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00