Eliminate the redundancy between source-file information in the source
authorDouglas Gregor <dgregor@apple.com>
Mon, 22 Oct 2012 18:42:04 +0000 (18:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 22 Oct 2012 18:42:04 +0000 (18:42 +0000)
commit3120d2c3894ed5c09f3febc235b82937b878d77e
tree0211fb17277c4bdd419415e31faea81fd6294958
parent5f18f6e4d684d57b8f2430e5199e60a31ef78db0
Eliminate the redundancy between source-file information in the source
manager block and input-file information in the control block. The
source manager entries now point back into the control block. Input
files are now lazily deserialized (if validation is disabled). Reduces
Cocoa's PCH by the ~70k I added when I introduced the redundancy in
r166251.

llvm-svn: 166429
clang/include/clang/Serialization/ASTBitCodes.h
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/ASTWriter.h
clang/include/clang/Serialization/Module.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp