diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-22 18:42:04 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-22 18:42:04 +0000 |
commit | a930dc9b46572cb6e5bb54f3d724e8fe23a6b66e (patch) | |
tree | ce00af15e555bff47fb330c6d117d475cb72ba41 /include/clang/Serialization/ASTBitCodes.h | |
parent | 2e4e110a727a0d379a8fbd0cc2afba1ff3801091 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
-rw-r--r-- | include/clang/Serialization/ASTBitCodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTBitCodes.h b/include/clang/Serialization/ASTBitCodes.h index 988cac20b3..1cf118638c 100644 --- a/include/clang/Serialization/ASTBitCodes.h +++ b/include/clang/Serialization/ASTBitCodes.h @@ -257,7 +257,11 @@ namespace clang { ORIGINAL_FILE = 5, /// \brief The directory that the PCH was originally created in. - ORIGINAL_PCH_DIR = 6 + ORIGINAL_PCH_DIR = 6, + + /// \brief Offsets into the input-files block where input files + /// reside. + INPUT_FILE_OFFSETS = 7 }; /// \brief Record types that occur within the input-files block |