]> granicus.if.org Git - clang/commit
Switch PTH format from a 7 byte magic number to an 8 byte one, to avoid
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 17 Aug 2012 03:55:43 +0000 (03:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 17 Aug 2012 03:55:43 +0000 (03:55 +0000)
commitc141b51d78b40c7b0b04f27adfa70ec5bbddc49c
treea47b2391a4460b1be88b53a8c3d9fe4803ae786d
parente276cfc4e30dd3d85e3904ee270e85d5d0e309ad
Switch PTH format from a 7 byte magic number to an 8 byte one, to avoid
misaligned reads throughout the file. Bump PTH format version to 10.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162076 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PTHManager.h
lib/Frontend/CacheTokens.cpp
lib/Lex/PTHLexer.cpp