diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-07-08 22:01:51 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-07-08 22:01:51 +0000 |
commit | 595c51342c8bb1d256e0d6bd2bfedc03899f60cd (patch) | |
tree | aa12cc0f48b9162f7777ee7f18ca229d19060804 /clang/lib/Frontend/PCHWriter.cpp | |
parent | 364b0e72d1b10d3baeae1fc85c237864be09c3f9 (diff) | |
download | bcm5719-llvm-595c51342c8bb1d256e0d6bd2bfedc03899f60cd.tar.gz bcm5719-llvm-595c51342c8bb1d256e0d6bd2bfedc03899f60cd.zip |
Some preparatory work for chained PCH. No functionality change.
llvm-svn: 107915
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 8684a06eb0b..18ceef99c98 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/lib/Frontend/PCHWriter.cpp @@ -628,6 +628,7 @@ void PCHWriter::WriteBlockInfoBlock() { RECORD(VERSION_CONTROL_BRANCH_REVISION); RECORD(UNUSED_STATIC_FUNCS); RECORD(MACRO_DEFINITION_OFFSETS); + RECORD(CHAINED_METADATA); // SourceManager Block. BLOCK(SOURCE_MANAGER_BLOCK); @@ -2075,7 +2076,7 @@ PCHWriter::PCHWriter(llvm::BitstreamWriter &Stream) NumLexicalDeclContexts(0), NumVisibleDeclContexts(0) { } void PCHWriter::WritePCH(Sema &SemaRef, MemorizeStatCalls *StatCalls, - const char *isysroot) { + const PCHReader *Chain, const char *isysroot) { using namespace llvm; ASTContext &Context = SemaRef.Context; |