commit | 67d15050bbea16ae256e204ecd464f2e454c3c99 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Jan 26 21:50:21 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Jan 26 21:50:21 2009 +0000 |
tree | 91804f83fe24b1c3e6e478af18474e4491e8d178 | |
parent | e1b6498c41b94c3bc5cede17b0702282543385ef [diff] [blame] |
Add version number checking to PTH files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63047 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/CacheTokens.cpp b/Driver/CacheTokens.cpp index 975d364..aef59cb 100644 --- a/Driver/CacheTokens.cpp +++ b/Driver/CacheTokens.cpp
@@ -456,6 +456,7 @@ void PTHWriter::GeneratePTH() { // Generate the prologue. Out << "cfe-pth"; + Emit32(PTHManager::Version); Offset JumpOffset = Out.tell(); Emit32(0);